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.
43 lines
1.1 KiB
43 lines
1.1 KiB
2 years ago
|
/* eslint-disable*/
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = dc => {
|
||
|
const DataTypes = dc.ORM;
|
||
|
const sequelize = dc.orm;
|
||
|
const VacateRemark = sequelize.define("vacateRemark", {
|
||
|
id: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: false,
|
||
|
defaultValue: null,
|
||
|
comment: null,
|
||
|
primaryKey: true,
|
||
|
field: "id",
|
||
|
autoIncrement: true,
|
||
|
unique: "vacate_remark_id_uindex"
|
||
|
},
|
||
|
pepUserId: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: false,
|
||
|
defaultValue: null,
|
||
|
comment: 'pep用户id',
|
||
|
primaryKey: false,
|
||
|
field: "pep_user_id",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
remark: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: '备注',
|
||
|
primaryKey: false,
|
||
|
field: "remark",
|
||
|
autoIncrement: false
|
||
|
}
|
||
|
}, {
|
||
|
tableName: "vacate_remark",
|
||
|
comment: "",
|
||
|
indexes: []
|
||
|
});
|
||
|
dc.models.VacateRemark = VacateRemark;
|
||
|
return VacateRemark;
|
||
|
};
|