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.
 
 
 
 

89 lines
2.0 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const HideDangerDispose = sequelize.define("hideDangerDispose", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "hide_danger_dispose_id_uindex"
},
rectifySiteId: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "rectify_site_id",
autoIncrement: false
},
disposeUser: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "dispose_user",
autoIncrement: false
},
disposeTime: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "dispose_time",
autoIncrement: false
},
describe: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: null,
primaryKey: false,
field: "describe",
autoIncrement: false
},
file: {
type: DataTypes.ARRAY(DataTypes.STRING),
allowNull: true,
defaultValue: null,
comment: null,
primaryKey: false,
field: "file",
autoIncrement: false
},
type: {
type: DataTypes.INTEGER,
allowNull: true,
defaultValue: null,
comment: "1:整改 2:审核 3:复审",
primaryKey: false,
field: "type",
autoIncrement: false
},
admit: {
type: DataTypes.BOOLEAN,
allowNull: true,
defaultValue: null,
comment: "是否通过审核",
primaryKey: false,
field: "admit",
autoIncrement: false
}
}, {
tableName: "hide_danger_dispose",
comment: "",
indexes: []
});
dc.models.HideDangerDispose = HideDangerDispose;
return HideDangerDispose;
};