floriday/models/characteristics.js

26 lines
498 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;
};