/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const VacateDay = sequelize.define("vacateDay", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "vacate_day_id_uindex" }, day: { type: DataTypes.DATEONLY, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "day", autoIncrement: false }, duration: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "duration", autoIncrement: false }, vacateId: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "vacate_id", autoIncrement: false } }, { tableName: "vacate_day", comment: "", indexes: [] }); dc.models.VacateDay = VacateDay; return VacateDay; };