floriday/models/tradeItem/package.js

19 lines
376 B
JavaScript
Raw Normal View History

import { Sequelize } from 'sequelize';
2022-12-05 12:53:30 +00:00
const PackageModel = {
vbnPackageCode: {
type: Sequelize.INTEGER,
},
customPackageId: {
type: Sequelize.STRING,
},
2022-12-05 12:53:30 +00:00
};
export default (sequelize) => {
const Package = sequelize.define('package', PackageModel, {
timestamps: false,
freezeTableName: true,
});
return Package;
};