floriday/models/package.js

24 lines
492 B
JavaScript

import { Sequelize } from 'sequelize';
const PackageModel = {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
autoIncrement: true,
},
packingConfigurationsFk: {
type: Sequelize.INTEGER,
},
vbnPackageCode: {
type: Sequelize.INTEGER,
},
};
export default (sequelize) => {
const Package = sequelize.define('FDpackage', PackageModel, {
timestamps: false,
freezeTableName: true,
});
return Package;
};