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

115 lines
2.7 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const RoadMaintenance = sequelize.define("roadMaintenance", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "road_maintenance_id_uindex"
},
serialNumber: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "序号",
primaryKey: false,
field: "serial_number",
autoIncrement: false
},
responsibleUnitForManagementAndMaintenance: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "管养责任单位",
primaryKey: false,
field: "responsible_unit_for_management_and_maintenance",
autoIncrement: false
},
maintenanceUnit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "养护单位",
primaryKey: false,
field: "maintenance_unit",
autoIncrement: false
},
management: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "管理人员",
primaryKey: false,
field: "management",
autoIncrement: false
},
worker: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "工人",
primaryKey: false,
field: "worker",
autoIncrement: false
},
publicWelfarePost: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "公益岗位",
primaryKey: false,
field: "public_welfare_post",
autoIncrement: false
},
countyHighway: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "县道",
primaryKey: false,
field: "county_highway",
autoIncrement: false
},
townshipRoad: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "乡道 ",
primaryKey: false,
field: "township_road",
autoIncrement: false
},
villageRoad: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "村道",
primaryKey: false,
field: "village_road",
autoIncrement: false
},
bridge: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "桥梁 ",
primaryKey: false,
field: "bridge",
autoIncrement: false
}
}, {
tableName: "road_maintenance",
comment: "",
indexes: []
});
dc.models.RoadMaintenance = RoadMaintenance;
return RoadMaintenance;
};