floriday/models/characteristics.js

26 lines
440 B
JavaScript
Raw Normal View History

2022-12-05 12:53:30 +00:00
import { Sequelize } from "sequelize";
const characteristics = {
tradeItemFk: {
type: Sequelize.INTEGER,
},
vnbCode: {
type: Sequelize.STRING,
},
vnbValueCode: {
type: Sequelize.STRING,
},
};
export default (sequelize) => {
const Characteristics = sequelize.define(
"FDcharacteristics",
characteristics,
{
timestamps: false,
freezeTableName: true,
}
);
return Characteristics;
};