26 lines
440 B
JavaScript
26 lines
440 B
JavaScript
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;
|
|
};
|