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.
813 lines
24 KiB
813 lines
24 KiB
/* eslint-disable*/
|
|
'use strict';
|
|
|
|
module.exports = dc => {
|
|
const DataTypes = dc.ORM;
|
|
const sequelize = dc.orm;
|
|
const Road = sequelize.define("road", {
|
|
id: {
|
|
index: 1,
|
|
type: DataTypes.INTEGER,
|
|
allowNull: false,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: true,
|
|
field: "id",
|
|
autoIncrement: true,
|
|
unique: "road_id_uindex"
|
|
},
|
|
routeName: {
|
|
index: 2,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路线名称",
|
|
primaryKey: false,
|
|
field: "route_name",
|
|
autoIncrement: false
|
|
},
|
|
routeCode: {
|
|
index: 3,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路线代码",
|
|
primaryKey: false,
|
|
field: "route_code",
|
|
autoIncrement: false
|
|
},
|
|
sectionNo: {
|
|
index: 4,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路段序号",
|
|
primaryKey: false,
|
|
field: "section_no",
|
|
autoIncrement: false
|
|
},
|
|
townshipCode: {
|
|
index: 5,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "乡镇编码",
|
|
primaryKey: false,
|
|
field: "township_code",
|
|
autoIncrement: false
|
|
},
|
|
startingPlaceName: {
|
|
index: 6,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "起点地名",
|
|
primaryKey: false,
|
|
field: "starting_place_name",
|
|
autoIncrement: false
|
|
},
|
|
startStation: {
|
|
index: 7,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "起点桩号",
|
|
primaryKey: false,
|
|
field: "start_station",
|
|
autoIncrement: false
|
|
},
|
|
categoryOfStartingPointAndDividingPoint: {
|
|
index: 8,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "起点分界点类别",
|
|
primaryKey: false,
|
|
field: "category_of_starting_point_and_dividing_point",
|
|
autoIncrement: false
|
|
},
|
|
stopPlaceName: {
|
|
index: 9,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "止点地名",
|
|
primaryKey: false,
|
|
field: "stop_place_name",
|
|
autoIncrement: false
|
|
},
|
|
categoryOfDeadCenterAndDividingPoint: {
|
|
index: 10,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "止点分界点类别",
|
|
primaryKey: false,
|
|
field: "category_of_dead_center_and_dividing_point",
|
|
autoIncrement: false
|
|
},
|
|
stopStation: {
|
|
index: 11,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "止点桩号",
|
|
primaryKey: false,
|
|
field: "stop_station",
|
|
autoIncrement: false
|
|
},
|
|
sectionType: {
|
|
index: 12,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路段类型",
|
|
primaryKey: false,
|
|
field: "section_type",
|
|
autoIncrement: false
|
|
},
|
|
routeCodeBeforeRoadNetworkAdjustment: {
|
|
index: 13,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路网调整前路线编码",
|
|
primaryKey: false,
|
|
field: "route_code_before_road_network_adjustment",
|
|
autoIncrement: false
|
|
},
|
|
serialNumberOfOriginalSection: {
|
|
index: 14,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "原路段序号",
|
|
primaryKey: false,
|
|
field: "serial_number_of_original_section",
|
|
autoIncrement: false
|
|
},
|
|
startingStakeNumberOfTheOriginalRoadSection: {
|
|
index: 15,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "原路段起点桩号",
|
|
primaryKey: false,
|
|
field: "starting_stake_number_of_the_original_road_section",
|
|
autoIncrement: false
|
|
},
|
|
endingPointStakeNoOfTheOriginalRoadSection: {
|
|
index: 16,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "原路段止点桩号",
|
|
primaryKey: false,
|
|
field: "ending_point_stake_no_of_the_original_road_section",
|
|
autoIncrement: false
|
|
},
|
|
routeLevel: {
|
|
index: 17,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路线等级",
|
|
primaryKey: false,
|
|
field: "route_level",
|
|
autoIncrement: false
|
|
},
|
|
natureOfRoadSection: {
|
|
index: 18,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路段性质",
|
|
primaryKey: false,
|
|
field: "nature_of_road_section",
|
|
autoIncrement: false
|
|
},
|
|
completionTime: {
|
|
index: 19,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "建成时间",
|
|
primaryKey: false,
|
|
field: "completion_time",
|
|
autoIncrement: false
|
|
},
|
|
reconstructionTime: {
|
|
index: 20,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "改建时间",
|
|
primaryKey: false,
|
|
field: "reconstruction_time",
|
|
autoIncrement: false
|
|
},
|
|
natureOfConstruction: {
|
|
index: 21,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "建设性质",
|
|
primaryKey: false,
|
|
field: "nature_of_construction",
|
|
autoIncrement: false
|
|
},
|
|
gbmAndCivilizedModelRoad: {
|
|
index: 22,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "GBM及文明样板路",
|
|
primaryKey: false,
|
|
field: "gbm_and_civilized_model_road",
|
|
autoIncrement: false
|
|
},
|
|
landforms: {
|
|
index: 23,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "地貌",
|
|
primaryKey: false,
|
|
field: "landforms",
|
|
autoIncrement: false
|
|
},
|
|
natureOfCharges: {
|
|
index: 24,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "收费性质",
|
|
primaryKey: false,
|
|
field: "nature_of_charges",
|
|
autoIncrement: false
|
|
},
|
|
tollStation: {
|
|
index: 25,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "所属收费站",
|
|
primaryKey: false,
|
|
field: "toll_station",
|
|
autoIncrement: false
|
|
},
|
|
numberOfCulverts: {
|
|
index: 26,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "涵洞数量",
|
|
primaryKey: false,
|
|
field: "number_of_culverts",
|
|
autoIncrement: false
|
|
},
|
|
technicalLevel: {
|
|
index: 27,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "技术等级",
|
|
primaryKey: false,
|
|
field: "technical_level",
|
|
autoIncrement: false
|
|
},
|
|
pavementType: {
|
|
index: 28,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路面类型",
|
|
primaryKey: false,
|
|
field: "pavement_type",
|
|
autoIncrement: false
|
|
},
|
|
pavementWidth: {
|
|
index: 29,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路面宽度",
|
|
primaryKey: false,
|
|
field: "pavement_width",
|
|
autoIncrement: false
|
|
},
|
|
subgradeWidth: {
|
|
index: 30,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路基宽度",
|
|
primaryKey: false,
|
|
field: "subgrade_width",
|
|
autoIncrement: false
|
|
},
|
|
laneCharacteristics: {
|
|
index: 31,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "车道特征",
|
|
primaryKey: false,
|
|
field: "lane_characteristics",
|
|
autoIncrement: false
|
|
},
|
|
whetherItIsOpenToTrafficInSunnyOrRainyDays: {
|
|
index: 32,
|
|
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: {
|
|
index: 33,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "设计时速",
|
|
primaryKey: false,
|
|
field: "design_speed_per_hour",
|
|
autoIncrement: false
|
|
},
|
|
urbanManagementSectionOrNot: {
|
|
index: 34,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "是否城管路段",
|
|
primaryKey: false,
|
|
field: "urban_management_section_or_not",
|
|
autoIncrement: false
|
|
},
|
|
managementAndMaintenanceUnit: {
|
|
index: 35,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "管养单位",
|
|
primaryKey: false,
|
|
field: "management_and_maintenance_unit",
|
|
autoIncrement: false
|
|
},
|
|
roadAdministrationUnit: {
|
|
index: 36,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "路政管理单位",
|
|
primaryKey: false,
|
|
field: "road_administration_unit",
|
|
autoIncrement: false
|
|
},
|
|
alimentation: {
|
|
index: 37,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "列养情况",
|
|
primaryKey: false,
|
|
field: "alimentation",
|
|
autoIncrement: false
|
|
},
|
|
sourceOfListedMaintenanceFunds: {
|
|
index: 38,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "列养资金来源",
|
|
primaryKey: false,
|
|
field: "source_of_listed_maintenance_funds",
|
|
autoIncrement: false
|
|
},
|
|
curingTime: {
|
|
index: 39,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "养护时间",
|
|
primaryKey: false,
|
|
field: "curing_time",
|
|
autoIncrement: false
|
|
},
|
|
greeningMileage: {
|
|
index: 40,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "可绿化里程",
|
|
primaryKey: false,
|
|
field: "greening_mileage",
|
|
autoIncrement: false
|
|
},
|
|
greeningMileaged: {
|
|
index: 41,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "已绿化里程",
|
|
primaryKey: false,
|
|
field: "greening_mileaged",
|
|
autoIncrement: false
|
|
},
|
|
typeOfRepeatedRoadSection: {
|
|
index: 42,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "重复道路路段类型",
|
|
primaryKey: false,
|
|
field: "type_of_repeated_road_section",
|
|
autoIncrement: false
|
|
},
|
|
serialNumberOfRepeatedSection: {
|
|
index: 43,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "重复路段序号",
|
|
primaryKey: false,
|
|
field: "serial_number_of_repeated_section",
|
|
autoIncrement: false
|
|
},
|
|
repeatedSectionRouteCode: {
|
|
index: 44,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "重复路段路线编码",
|
|
primaryKey: false,
|
|
field: "repeated_section_route_code",
|
|
autoIncrement: false
|
|
},
|
|
plannedFundCategory: {
|
|
index: 45,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划资金类别",
|
|
primaryKey: false,
|
|
field: "planned_fund_category",
|
|
autoIncrement: false
|
|
},
|
|
plannedYear: {
|
|
index: 46,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划年度",
|
|
primaryKey: false,
|
|
field: "planned_year",
|
|
autoIncrement: false
|
|
},
|
|
planDocumentNo: {
|
|
index: 47,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划文号",
|
|
primaryKey: false,
|
|
field: "plan_document_no",
|
|
autoIncrement: false
|
|
},
|
|
planItemUniqueCode: {
|
|
index: 48,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目唯一编码",
|
|
primaryKey: false,
|
|
field: "plan_item_unique_code",
|
|
autoIncrement: false
|
|
},
|
|
plannedProjectRouteCode: {
|
|
index: 49,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目路线编码",
|
|
primaryKey: false,
|
|
field: "planned_project_route_code",
|
|
autoIncrement: false
|
|
},
|
|
planProjectName: {
|
|
index: 50,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目名称",
|
|
primaryKey: false,
|
|
field: "plan_project_name",
|
|
autoIncrement: false
|
|
},
|
|
plannedProjectType: {
|
|
index: 51,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目类型",
|
|
primaryKey: false,
|
|
field: "planned_project_type",
|
|
autoIncrement: false
|
|
},
|
|
completionStatus: {
|
|
index: 52,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "完工情况",
|
|
primaryKey: false,
|
|
field: "completion_status",
|
|
autoIncrement: false
|
|
},
|
|
yearOfCompletion: {
|
|
index: 53,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "完工年度",
|
|
primaryKey: false,
|
|
field: "year_of_completion",
|
|
autoIncrement: false
|
|
},
|
|
plannedFundCategoryOne: {
|
|
index: 54,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划资金类别_1",
|
|
primaryKey: false,
|
|
field: "planned_fund_category__one",
|
|
autoIncrement: false
|
|
},
|
|
plannedYearOne: {
|
|
index: 55,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划年度_1",
|
|
primaryKey: false,
|
|
field: "planned_year__one",
|
|
autoIncrement: false
|
|
},
|
|
planDocumentNoOne: {
|
|
index: 56,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划文号_1",
|
|
primaryKey: false,
|
|
field: "plan_document_no__one",
|
|
autoIncrement: false
|
|
},
|
|
planItemUniqueCodeOne: {
|
|
index: 57,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目唯一编码_1",
|
|
primaryKey: false,
|
|
field: "plan_item_unique_code__one",
|
|
autoIncrement: false
|
|
},
|
|
planProjectNameOne: {
|
|
index: 58,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "计划项目名称_1",
|
|
primaryKey: false,
|
|
field: "plan_project_name__one",
|
|
autoIncrement: false
|
|
},
|
|
completionStatusOne: {
|
|
index: 59,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "完工情况_1",
|
|
primaryKey: false,
|
|
field: "completion_status__one",
|
|
autoIncrement: false
|
|
},
|
|
yearOfCompletionOne: {
|
|
index: 60,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "完工年度_1",
|
|
primaryKey: false,
|
|
field: "year_of_completion__one",
|
|
autoIncrement: false
|
|
},
|
|
stationRange: {
|
|
index: 61,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "桩号范围",
|
|
primaryKey: false,
|
|
field: "station_range",
|
|
autoIncrement: false
|
|
},
|
|
reportingUnit: {
|
|
index: 62,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "填报单位",
|
|
primaryKey: false,
|
|
field: "reporting_unit",
|
|
autoIncrement: false
|
|
},
|
|
reasonForChange: {
|
|
index: 63,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "变更原因",
|
|
primaryKey: false,
|
|
field: "reason_for_change",
|
|
autoIncrement: false
|
|
},
|
|
changeTime: {
|
|
index: 64,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "变更时间",
|
|
primaryKey: false,
|
|
field: "change_time",
|
|
autoIncrement: false
|
|
},
|
|
lastRepairAndMaintenanceYear: {
|
|
index: 65,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "最近一次修复养护年度",
|
|
primaryKey: false,
|
|
field: "last_repair_and_maintenance_year",
|
|
autoIncrement: false
|
|
},
|
|
whetherMaintenanceManagedHighway: {
|
|
index: 66,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "是否按干线公路管理接养",
|
|
primaryKey: false,
|
|
field: "whether_maintenance_managed_highway",
|
|
autoIncrement: false
|
|
},
|
|
remarks: {
|
|
index: 67,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "备注",
|
|
primaryKey: false,
|
|
field: "remarks",
|
|
autoIncrement: false
|
|
},
|
|
routeCodeOfLastYear: {
|
|
index: 68,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "上年路线编码",
|
|
primaryKey: false,
|
|
field: "route_code_of_last_year",
|
|
autoIncrement: false
|
|
},
|
|
routeNameOfLastYear: {
|
|
index: 69,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "上年路线名称",
|
|
primaryKey: false,
|
|
field: "route_name_of_last_year",
|
|
autoIncrement: false
|
|
},
|
|
startingStationOfLastYear: {
|
|
index: 70,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "上年起点桩号",
|
|
primaryKey: false,
|
|
field: "starting_station_of_last_year",
|
|
autoIncrement: false
|
|
},
|
|
lastYearsEndingPointStakeNumber: {
|
|
index: 71,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "上年止点桩号",
|
|
primaryKey: false,
|
|
field: "last_years_ending_point_stake_number",
|
|
autoIncrement: false
|
|
},
|
|
graphicMileage: {
|
|
index: 72,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "图形里程",
|
|
primaryKey: false,
|
|
field: "graphic_mileage",
|
|
autoIncrement: false
|
|
},
|
|
chainageMileage: {
|
|
index: 73,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "桩号里程",
|
|
primaryKey: false,
|
|
field: "chainage_mileage",
|
|
autoIncrement: false
|
|
},
|
|
districtcounty: {
|
|
index: 74,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "所在区县",
|
|
primaryKey: false,
|
|
field: "districtcounty",
|
|
autoIncrement: false
|
|
},
|
|
locationCity: {
|
|
index: 75,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "所在地市",
|
|
primaryKey: false,
|
|
field: "location_city",
|
|
autoIncrement: false
|
|
},
|
|
level: {
|
|
index: 76,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "level",
|
|
autoIncrement: false
|
|
},
|
|
surfaceThickness: {
|
|
index: 77,
|
|
type: DataTypes.STRING,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
comment: "面层厚度",
|
|
primaryKey: false,
|
|
field: "surface_thickness",
|
|
autoIncrement: false
|
|
},
|
|
villageId: {
|
|
type: DataTypes.INTEGER,
|
|
allowNull: true,
|
|
defaultValue: null,
|
|
// comment: "所属村",
|
|
primaryKey: false,
|
|
field: "village_id",
|
|
autoIncrement: false
|
|
},
|
|
del: {
|
|
type: DataTypes.BOOLEAN,
|
|
allowNull: true,
|
|
defaultValue: false,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "del",
|
|
autoIncrement: false
|
|
},
|
|
spot: {
|
|
type: DataTypes.BOOLEAN,
|
|
allowNull: true,
|
|
defaultValue: true,
|
|
comment: null,
|
|
primaryKey: false,
|
|
field: "spot",
|
|
autoIncrement: false
|
|
},
|
|
}, {
|
|
tableName: "road",
|
|
comment: "",
|
|
indexes: []
|
|
});
|
|
dc.models.Road = Road;
|
|
return Road;
|
|
};
|