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

466 lines
12 KiB

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const Road = sequelize.define("road", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: null,
primaryKey: true,
field: "id",
autoIncrement: true,
unique: "road_id_uindex"
},
routeName: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路线名称",
primaryKey: false,
field: "route_name",
autoIncrement: false
},
routeCode: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路线代码",
primaryKey: false,
field: "route_code",
autoIncrement: false
},
sectionNo: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路段序号",
primaryKey: false,
field: "section_no",
autoIncrement: false
},
townshipCode: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "乡镇编码",
primaryKey: false,
field: "township_code",
autoIncrement: false
},
startingPlaceName: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "起点地名",
primaryKey: false,
field: "starting_place_name",
autoIncrement: false
},
startStation: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "起点桩号",
primaryKey: false,
field: "start_station",
autoIncrement: false
},
categoryOfStartingPointAndDividingPoint: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "起点分界点类别",
primaryKey: false,
field: "category_of_starting_point_and_dividing_point",
autoIncrement: false
},
stopPlaceName: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "止点地名",
primaryKey: false,
field: "stop_place_name",
autoIncrement: false
},
categoryOfDeadCenterAndDividingPoint: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "止点分界点类别",
primaryKey: false,
field: "category_of_dead_center_and_dividing_point",
autoIncrement: false
},
stopStation: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "止点桩号",
primaryKey: false,
field: "stop_station",
autoIncrement: false
},
sectionType: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路段类型",
primaryKey: false,
field: "section_type",
autoIncrement: false
},
natureOfRoadSection: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路段性质",
primaryKey: false,
field: "nature_of_road_section",
autoIncrement: false
},
completionTime: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "建成时间",
primaryKey: false,
field: "completion_time",
autoIncrement: false
},
gbmAndCivilizedModelRoad: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "GBM及文明样板路",
primaryKey: false,
field: "gbm_and_civilized_model_road",
autoIncrement: false
},
landforms: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "地貌",
primaryKey: false,
field: "landforms",
autoIncrement: false
},
natureOfCharges: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "收费性质",
primaryKey: false,
field: "nature_of_charges",
autoIncrement: false
},
numberOfCulverts: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "涵洞数量",
primaryKey: false,
field: "number_of_culverts",
autoIncrement: false
},
technicalLevel: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "技术等级",
primaryKey: false,
field: "technical_level",
autoIncrement: false
},
pavementType: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路面类型",
primaryKey: false,
field: "pavement_type",
autoIncrement: false
},
pavementWidth: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路面宽度",
primaryKey: false,
field: "pavement_width",
autoIncrement: false
},
subgradeWidth: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路基宽度",
primaryKey: false,
field: "subgrade_width",
autoIncrement: false
},
laneCharacteristics: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "车道特征",
primaryKey: false,
field: "lane_characteristics",
autoIncrement: false
},
whetherItIsOpenToTrafficInSunnyOrRainyDays: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "是否晴雨通车",
primaryKey: false,
field: "whether_it_is_open_to_traffic_in_sunny_or_rainy_days",
autoIncrement: false
},
designSpeedPerHour: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "设计时速",
primaryKey: false,
field: "design_speed_per_hour",
autoIncrement: false
},
urbanManagementSectionOrNot: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "是否城管路段",
primaryKey: false,
field: "urban_management_section_or_not",
autoIncrement: false
},
managementAndMaintenanceUnit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "管养单位",
primaryKey: false,
field: "management_and_maintenance_unit",
autoIncrement: false
},
roadAdministrationUnit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "路政管理单位",
primaryKey: false,
field: "road_administration_unit",
autoIncrement: false
},
alimentation: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "列养情况",
primaryKey: false,
field: "alimentation",
autoIncrement: false
},
sourceOfListedMaintenanceFunds: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "列养资金来源",
primaryKey: false,
field: "source_of_listed_maintenance_funds",
autoIncrement: false
},
curingTime: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "养护时间",
primaryKey: false,
field: "curing_time",
autoIncrement: false
},
greeningMileage: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "可绿化里程",
primaryKey: false,
field: "greening_mileage",
autoIncrement: false
},
greeningMileaged: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "已绿化里程",
primaryKey: false,
field: "greening_mileaged",
autoIncrement: false
},
typeOfRepeatedRoadSection: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "重复道路路段类型",
primaryKey: false,
field: "type_of_repeated_road_section",
autoIncrement: false
},
serialNumberOfRepeatedSection: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "重复路段序号",
primaryKey: false,
field: "serial_number_of_repeated_section",
autoIncrement: false
},
repeatedSectionRouteCode: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "重复路段路线编码",
primaryKey: false,
field: "repeated_section_route_code",
autoIncrement: false
},
reportingUnit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "填报单位",
primaryKey: false,
field: "reporting_unit",
autoIncrement: false
},
reasonForChange: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "变更原因",
primaryKey: false,
field: "reason_for_change",
autoIncrement: false
},
changeTime: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "变更时间",
primaryKey: false,
field: "change_time",
autoIncrement: false
},
whetherMaintenanceManagedHighway: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "是否按干线公路管理接养",
primaryKey: false,
field: "whether_maintenance_managed_highway",
autoIncrement: false
},
remarks: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "备注",
primaryKey: false,
field: "remarks",
autoIncrement: false
},
routeCodeOfLastYear: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "上年路线编码",
primaryKey: false,
field: "route_code_of_last_year",
autoIncrement: false
},
routeNameOfLastYear: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "上年路线名称",
primaryKey: false,
field: "route_name_of_last_year",
autoIncrement: false
},
startingStationOfLastYear: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "上年起点桩号",
primaryKey: false,
field: "starting_station_of_last_year",
autoIncrement: false
},
lastYearsEndingPointStakeNumber: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "上年止点桩号",
primaryKey: false,
field: "last_years_ending_point_stake_number",
autoIncrement: false
},
graphicMileage: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "图形里程",
primaryKey: false,
field: "graphic_mileage",
autoIncrement: false
},
chainageMileage: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "桩号里程",
primaryKey: false,
field: "chainage_mileage",
autoIncrement: false
},
districtcounty: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "所在区县",
primaryKey: false,
field: "districtcounty",
autoIncrement: false
},
locationCity: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "所在地市",
primaryKey: false,
field: "location_city",
autoIncrement: false
},
level: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "县 / 乡 / 村",
primaryKey: false,
field: "level",
autoIncrement: false
}
}, {
tableName: "road",
comment: "",
indexes: []
});
dc.models.Road = Road;
return Road;
};