You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
814 B
33 lines
814 B
2 years ago
|
/* eslint-disable*/
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = dc => {
|
||
|
const DataTypes = dc.ORM;
|
||
|
const sequelize = dc.orm;
|
||
|
const ReserveItemReport = sequelize.define("reserveItemReport", {
|
||
|
year: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: true,
|
||
|
field: "year",
|
||
|
},
|
||
|
month: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: true,
|
||
|
field: "month",
|
||
|
},
|
||
|
path: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: false,
|
||
|
field: "path",
|
||
|
},
|
||
|
type: {
|
||
|
type: DataTypes.STRING,
|
||
|
allowNull: true,
|
||
|
field: "type",
|
||
|
}
|
||
|
}, {
|
||
|
tableName: "reserve_item_report",
|
||
|
});
|
||
|
dc.models.ReserveItemReport = ReserveItemReport;
|
||
|
return ReserveItemReport;
|
||
|
};
|