|
@ -5,6 +5,13 @@ module.exports = dc => { |
|
|
const DataTypes = dc.ORM; |
|
|
const DataTypes = dc.ORM; |
|
|
const sequelize = dc.orm; |
|
|
const sequelize = dc.orm; |
|
|
const ReserveItemReport = sequelize.define("reserveItemReport", { |
|
|
const ReserveItemReport = sequelize.define("reserveItemReport", { |
|
|
|
|
|
id: { |
|
|
|
|
|
type: DataTypes.INTEGER, |
|
|
|
|
|
allowNull: false, |
|
|
|
|
|
primaryKey: true, |
|
|
|
|
|
field: "id", |
|
|
|
|
|
autoIncrement: true, |
|
|
|
|
|
}, |
|
|
year: { |
|
|
year: { |
|
|
type: DataTypes.INTEGER, |
|
|
type: DataTypes.INTEGER, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|