23 lines
447 B
JavaScript
23 lines
447 B
JavaScript
import { Sequelize } from 'sequelize';
|
|
|
|
const characteristics = {
|
|
vbnCode: {
|
|
type: Sequelize.STRING,
|
|
},
|
|
vbnValueCode: {
|
|
type: Sequelize.STRING,
|
|
},
|
|
};
|
|
|
|
export default (sequelize) => {
|
|
const Characteristics = sequelize.define(
|
|
'tradeItem_characteristics',
|
|
characteristics,
|
|
{
|
|
timestamps: false,
|
|
freezeTableName: true,
|
|
}
|
|
);
|
|
return Characteristics;
|
|
};
|