四好公路
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.

79 lines
2.2 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const RoadSpotCheckChangeLog = sequelize.define("roadSpotCheckChangeLog", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "road_spot_check_change_log_id_uindex"
},
userId: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "修改者",
primaryKey: false,
field: "user_id",
autoIncrement: false
},
time: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: false,
field: "time",
autoIncrement: false
},
content: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "修改内容描述",
primaryKey: false,
field: "content",
autoIncrement: false
},
originRoadId: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "原本的道路",
primaryKey: false,
field: "origin_road_id",
autoIncrement: false
},
changeRoadId: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "更改后的道路",
primaryKey: false,
field: "change_road_id",
autoIncrement: false
},
prepareId: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "抽查预览id",
primaryKey: false,
field: "prepare_id",
autoIncrement: false
}
}, {
tableName: "road_spot_check_change_log",
comment: "",
indexes: []
});
dc.models.RoadSpotCheckChangeLog = RoadSpotCheckChangeLog;
return RoadSpotCheckChangeLog;
};