|
@ -6,6 +6,7 @@ module.exports = dc => { |
|
|
const sequelize = dc.orm; |
|
|
const sequelize = dc.orm; |
|
|
const Road = sequelize.define("road", { |
|
|
const Road = sequelize.define("road", { |
|
|
id: { |
|
|
id: { |
|
|
|
|
|
index: 1, |
|
|
type: DataTypes.INTEGER, |
|
|
type: DataTypes.INTEGER, |
|
|
allowNull: false, |
|
|
allowNull: false, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -16,6 +17,7 @@ module.exports = dc => { |
|
|
unique: "road_id_uindex" |
|
|
unique: "road_id_uindex" |
|
|
}, |
|
|
}, |
|
|
routeName: { |
|
|
routeName: { |
|
|
|
|
|
index: 2, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -25,6 +27,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
routeCode: { |
|
|
routeCode: { |
|
|
|
|
|
index: 3, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -34,6 +37,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
sectionNo: { |
|
|
sectionNo: { |
|
|
|
|
|
index: 4, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -43,6 +47,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
townshipCode: { |
|
|
townshipCode: { |
|
|
|
|
|
index: 5, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -52,6 +57,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
startingPlaceName: { |
|
|
startingPlaceName: { |
|
|
|
|
|
index: 6, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -61,6 +67,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
startStation: { |
|
|
startStation: { |
|
|
|
|
|
index: 7, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -70,6 +77,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
categoryOfStartingPointAndDividingPoint: { |
|
|
categoryOfStartingPointAndDividingPoint: { |
|
|
|
|
|
index: 8, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -79,6 +87,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
stopPlaceName: { |
|
|
stopPlaceName: { |
|
|
|
|
|
index: 9, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -88,6 +97,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
categoryOfDeadCenterAndDividingPoint: { |
|
|
categoryOfDeadCenterAndDividingPoint: { |
|
|
|
|
|
index: 10, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -97,6 +107,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
stopStation: { |
|
|
stopStation: { |
|
|
|
|
|
index: 11, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -106,6 +117,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
sectionType: { |
|
|
sectionType: { |
|
|
|
|
|
index: 12, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -115,6 +127,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
routeCodeBeforeRoadNetworkAdjustment: { |
|
|
routeCodeBeforeRoadNetworkAdjustment: { |
|
|
|
|
|
index: 13, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -124,6 +137,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
serialNumberOfOriginalSection: { |
|
|
serialNumberOfOriginalSection: { |
|
|
|
|
|
index: 14, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -133,6 +147,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
startingStakeNumberOfTheOriginalRoadSection: { |
|
|
startingStakeNumberOfTheOriginalRoadSection: { |
|
|
|
|
|
index: 15, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -142,6 +157,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
endingPointStakeNoOfTheOriginalRoadSection: { |
|
|
endingPointStakeNoOfTheOriginalRoadSection: { |
|
|
|
|
|
index: 16, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -151,6 +167,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
routeLevel: { |
|
|
routeLevel: { |
|
|
|
|
|
index: 17, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -160,6 +177,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
natureOfRoadSection: { |
|
|
natureOfRoadSection: { |
|
|
|
|
|
index: 18, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -169,6 +187,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
completionTime: { |
|
|
completionTime: { |
|
|
|
|
|
index: 19, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -178,6 +197,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
reconstructionTime: { |
|
|
reconstructionTime: { |
|
|
|
|
|
index: 20, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -187,6 +207,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
natureOfConstruction: { |
|
|
natureOfConstruction: { |
|
|
|
|
|
index: 21, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -196,6 +217,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
gbmAndCivilizedModelRoad: { |
|
|
gbmAndCivilizedModelRoad: { |
|
|
|
|
|
index: 22, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -205,6 +227,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
landforms: { |
|
|
landforms: { |
|
|
|
|
|
index: 23, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -214,6 +237,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
natureOfCharges: { |
|
|
natureOfCharges: { |
|
|
|
|
|
index: 24, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -223,6 +247,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
tollStation: { |
|
|
tollStation: { |
|
|
|
|
|
index: 25, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -232,6 +257,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
numberOfCulverts: { |
|
|
numberOfCulverts: { |
|
|
|
|
|
index: 26, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -241,6 +267,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
technicalLevel: { |
|
|
technicalLevel: { |
|
|
|
|
|
index: 27, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -250,6 +277,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
pavementType: { |
|
|
pavementType: { |
|
|
|
|
|
index: 28, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -259,6 +287,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
pavementWidth: { |
|
|
pavementWidth: { |
|
|
|
|
|
index: 29, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -268,6 +297,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
subgradeWidth: { |
|
|
subgradeWidth: { |
|
|
|
|
|
index: 30, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -277,6 +307,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
laneCharacteristics: { |
|
|
laneCharacteristics: { |
|
|
|
|
|
index: 31, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -286,6 +317,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
whetherItIsOpenToTrafficInSunnyOrRainyDays: { |
|
|
whetherItIsOpenToTrafficInSunnyOrRainyDays: { |
|
|
|
|
|
index: 32, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -295,6 +327,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
designSpeedPerHour: { |
|
|
designSpeedPerHour: { |
|
|
|
|
|
index: 33, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -304,6 +337,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
urbanManagementSectionOrNot: { |
|
|
urbanManagementSectionOrNot: { |
|
|
|
|
|
index: 34, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -313,6 +347,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
managementAndMaintenanceUnit: { |
|
|
managementAndMaintenanceUnit: { |
|
|
|
|
|
index: 35, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -322,6 +357,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
roadAdministrationUnit: { |
|
|
roadAdministrationUnit: { |
|
|
|
|
|
index: 36, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -331,6 +367,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
alimentation: { |
|
|
alimentation: { |
|
|
|
|
|
index: 37, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -340,6 +377,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
sourceOfListedMaintenanceFunds: { |
|
|
sourceOfListedMaintenanceFunds: { |
|
|
|
|
|
index: 38, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -349,6 +387,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
curingTime: { |
|
|
curingTime: { |
|
|
|
|
|
index: 39, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -358,6 +397,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
greeningMileage: { |
|
|
greeningMileage: { |
|
|
|
|
|
index: 40, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -367,6 +407,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
greeningMileaged: { |
|
|
greeningMileaged: { |
|
|
|
|
|
index: 41, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -376,6 +417,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
typeOfRepeatedRoadSection: { |
|
|
typeOfRepeatedRoadSection: { |
|
|
|
|
|
index: 42, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -385,6 +427,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
serialNumberOfRepeatedSection: { |
|
|
serialNumberOfRepeatedSection: { |
|
|
|
|
|
index: 43, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -394,6 +437,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
repeatedSectionRouteCode: { |
|
|
repeatedSectionRouteCode: { |
|
|
|
|
|
index: 44, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -403,6 +447,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedFundCategory: { |
|
|
plannedFundCategory: { |
|
|
|
|
|
index: 45, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -412,6 +457,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedYear: { |
|
|
plannedYear: { |
|
|
|
|
|
index: 46, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -421,6 +467,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planDocumentNo: { |
|
|
planDocumentNo: { |
|
|
|
|
|
index: 47, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -430,6 +477,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planItemUniqueCode: { |
|
|
planItemUniqueCode: { |
|
|
|
|
|
index: 48, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -439,6 +487,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedProjectRouteCode: { |
|
|
plannedProjectRouteCode: { |
|
|
|
|
|
index: 49, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -448,6 +497,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planProjectName: { |
|
|
planProjectName: { |
|
|
|
|
|
index: 50, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -457,6 +507,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedProjectType: { |
|
|
plannedProjectType: { |
|
|
|
|
|
index: 51, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -466,6 +517,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
completionStatus: { |
|
|
completionStatus: { |
|
|
|
|
|
index: 52, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -475,6 +527,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
yearOfCompletion: { |
|
|
yearOfCompletion: { |
|
|
|
|
|
index: 53, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -484,6 +537,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedFundCategoryOne: { |
|
|
plannedFundCategoryOne: { |
|
|
|
|
|
index: 54, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -493,6 +547,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
plannedYearOne: { |
|
|
plannedYearOne: { |
|
|
|
|
|
index: 55, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -502,6 +557,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planDocumentNoOne: { |
|
|
planDocumentNoOne: { |
|
|
|
|
|
index: 56, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -511,6 +567,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planItemUniqueCodeOne: { |
|
|
planItemUniqueCodeOne: { |
|
|
|
|
|
index: 57, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -520,6 +577,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
planProjectNameOne: { |
|
|
planProjectNameOne: { |
|
|
|
|
|
index: 58, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -529,6 +587,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
completionStatusOne: { |
|
|
completionStatusOne: { |
|
|
|
|
|
index: 59, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -538,6 +597,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
yearOfCompletionOne: { |
|
|
yearOfCompletionOne: { |
|
|
|
|
|
index: 60, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -547,6 +607,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
stationRange: { |
|
|
stationRange: { |
|
|
|
|
|
index: 61, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -556,6 +617,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
reportingUnit: { |
|
|
reportingUnit: { |
|
|
|
|
|
index: 62, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -565,6 +627,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
reasonForChange: { |
|
|
reasonForChange: { |
|
|
|
|
|
index: 63, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -574,6 +637,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
changeTime: { |
|
|
changeTime: { |
|
|
|
|
|
index: 64, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -583,6 +647,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
lastRepairAndMaintenanceYear: { |
|
|
lastRepairAndMaintenanceYear: { |
|
|
|
|
|
index: 65, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -592,6 +657,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
whetherMaintenanceManagedHighway: { |
|
|
whetherMaintenanceManagedHighway: { |
|
|
|
|
|
index: 66, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -601,6 +667,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
remarks: { |
|
|
remarks: { |
|
|
|
|
|
index: 67, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -610,6 +677,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
routeCodeOfLastYear: { |
|
|
routeCodeOfLastYear: { |
|
|
|
|
|
index: 68, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -619,6 +687,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
routeNameOfLastYear: { |
|
|
routeNameOfLastYear: { |
|
|
|
|
|
index: 69, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -628,6 +697,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
startingStationOfLastYear: { |
|
|
startingStationOfLastYear: { |
|
|
|
|
|
index: 70, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -637,6 +707,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
lastYearsEndingPointStakeNumber: { |
|
|
lastYearsEndingPointStakeNumber: { |
|
|
|
|
|
index: 71, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -646,6 +717,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
graphicMileage: { |
|
|
graphicMileage: { |
|
|
|
|
|
index: 72, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -655,6 +727,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
chainageMileage: { |
|
|
chainageMileage: { |
|
|
|
|
|
index: 73, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -664,6 +737,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
districtcounty: { |
|
|
districtcounty: { |
|
|
|
|
|
index: 74, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -673,6 +747,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
locationCity: { |
|
|
locationCity: { |
|
|
|
|
|
index: 75, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -682,6 +757,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
level: { |
|
|
level: { |
|
|
|
|
|
index: 76, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
@ -691,6 +767,7 @@ module.exports = dc => { |
|
|
autoIncrement: false |
|
|
autoIncrement: false |
|
|
}, |
|
|
}, |
|
|
surfaceThickness: { |
|
|
surfaceThickness: { |
|
|
|
|
|
index: 77, |
|
|
type: DataTypes.STRING, |
|
|
type: DataTypes.STRING, |
|
|
allowNull: true, |
|
|
allowNull: true, |
|
|
defaultValue: null, |
|
|
defaultValue: null, |
|
|