/* 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
    },
    routeCodeBeforeRoadNetworkAdjustment: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "路网调整前路线编码",
      primaryKey: false,
      field: "route_code_before_road_network_adjustment",
      autoIncrement: false
    },
    serialNumberOfOriginalSection: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "原路段序号",
      primaryKey: false,
      field: "serial_number_of_original_section",
      autoIncrement: false
    },
    startingStakeNumberOfTheOriginalRoadSection: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "原路段起点桩号",
      primaryKey: false,
      field: "starting_stake_number_of_the_original_road_section",
      autoIncrement: false
    },
    endingPointStakeNoOfTheOriginalRoadSection: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "原路段止点桩号",
      primaryKey: false,
      field: "ending_point_stake_no_of_the_original_road_section",
      autoIncrement: false
    },
    routeLevel: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "路线等级",
      primaryKey: false,
      field: "route_level",
      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
    },
    reconstructionTime: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "改建时间",
      primaryKey: false,
      field: "reconstruction_time",
      autoIncrement: false
    },
    natureOfConstruction: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "建设性质",
      primaryKey: false,
      field: "nature_of_construction",
      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
    },
    tollStation: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "所属收费站",
      primaryKey: false,
      field: "toll_station",
      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
    },
    plannedFundCategory: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划资金类别",
      primaryKey: false,
      field: "planned_fund_category",
      autoIncrement: false
    },
    plannedYear: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划年度",
      primaryKey: false,
      field: "planned_year",
      autoIncrement: false
    },
    planDocumentNo: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划文号",
      primaryKey: false,
      field: "plan_document_no",
      autoIncrement: false
    },
    planItemUniqueCode: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目唯一编码",
      primaryKey: false,
      field: "plan_item_unique_code",
      autoIncrement: false
    },
    plannedProjectRouteCode: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目路线编码",
      primaryKey: false,
      field: "planned_project_route_code",
      autoIncrement: false
    },
    planProjectName: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目名称",
      primaryKey: false,
      field: "plan_project_name",
      autoIncrement: false
    },
    plannedProjectType: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目类型",
      primaryKey: false,
      field: "planned_project_type",
      autoIncrement: false
    },
    completionStatus: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "完工情况",
      primaryKey: false,
      field: "completion_status",
      autoIncrement: false
    },
    yearOfCompletion: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "完工年度",
      primaryKey: false,
      field: "year_of_completion",
      autoIncrement: false
    },
    plannedFundCategoryOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划资金类别_1",
      primaryKey: false,
      field: "planned_fund_category__one",
      autoIncrement: false
    },
    plannedYearOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划年度_1",
      primaryKey: false,
      field: "planned_year__one",
      autoIncrement: false
    },
    planDocumentNoOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划文号_1",
      primaryKey: false,
      field: "plan_document_no__one",
      autoIncrement: false
    },
    planItemUniqueCodeOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目唯一编码_1",
      primaryKey: false,
      field: "plan_item_unique_code__one",
      autoIncrement: false
    },
    planProjectNameOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "计划项目名称_1",
      primaryKey: false,
      field: "plan_project_name__one",
      autoIncrement: false
    },
    completionStatusOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "完工情况_1",
      primaryKey: false,
      field: "completion_status__one",
      autoIncrement: false
    },
    yearOfCompletionOne: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "完工年度_1",
      primaryKey: false,
      field: "year_of_completion__one",
      autoIncrement: false
    },
    stationRange: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "桩号范围",
      primaryKey: false,
      field: "station_range",
      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
    },
    lastRepairAndMaintenanceYear: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "最近一次修复养护年度",
      primaryKey: false,
      field: "last_repair_and_maintenance_year",
      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: null,
      primaryKey: false,
      field: "level",
      autoIncrement: false
    },
    surfaceThickness: {
      type: DataTypes.STRING,
      allowNull: true,
      defaultValue: null,
      comment: "面层厚度",
      primaryKey: false,
      field: "surface_thickness",
      autoIncrement: false
    }
  }, {
    tableName: "road",
    comment: "",
    indexes: []
  });
  dc.models.Road = Road;
  return Road;
};