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.
250 lines
6.5 KiB
250 lines
6.5 KiB
1 year ago
|
/* eslint-disable*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = dc => {
|
||
|
const DataTypes = dc.ORM;
|
||
|
const sequelize = dc.orm;
|
||
|
const EmergencyShelterBasicInfoStatistics = sequelize.define("emergencyShelterBasicInfoStatistics", {
|
||
|
id: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: false,
|
||
|
defaultValue: null,
|
||
|
comment: "序号",
|
||
|
primaryKey: true,
|
||
|
field: "id",
|
||
|
autoIncrement: true
|
||
|
},
|
||
|
shelterName: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: false,
|
||
|
defaultValue: null,
|
||
|
comment: "应急避难场所全称",
|
||
|
primaryKey: false,
|
||
|
field: "shelter_name",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
address: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "应急避难场所地址",
|
||
|
primaryKey: false,
|
||
|
field: "address",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
eventType: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "按突发事件类型分类",
|
||
|
primaryKey: false,
|
||
|
field: "event_type",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
shelterType: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "避难种类",
|
||
|
primaryKey: false,
|
||
|
field: "shelter_type",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
designClassificationDuration: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "按避难时长设计分类",
|
||
|
primaryKey: false,
|
||
|
field: "design_classification_duration",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
spaceType: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "按空间类型分类",
|
||
|
primaryKey: false,
|
||
|
field: "space_type",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
functionClassification: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "按总体功能定位分类",
|
||
|
primaryKey: false,
|
||
|
field: "function_classification",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
constructionType: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "应急避难场所建设类型",
|
||
|
primaryKey: false,
|
||
|
field: "construction_type",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
totalArea: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "应急避难场所占地总面积(平方米",
|
||
|
primaryKey: false,
|
||
|
field: "total_area",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
indoorArea: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "应急避难场所室内面积(平方米)",
|
||
|
primaryKey: false,
|
||
|
field: "indoor_area",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
capacity: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "避难场所容纳\r\n人数(人)",
|
||
|
primaryKey: false,
|
||
|
field: "capacity",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
materialReserves: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "物资\r\n储备",
|
||
|
primaryKey: false,
|
||
|
field: "material_reserves",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
emergencyFacilities: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "应急\r\n设施",
|
||
|
primaryKey: false,
|
||
|
field: "emergency_facilities",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
certificationDepartment: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "认定部门",
|
||
|
primaryKey: false,
|
||
|
field: "certification_department",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
supervisingUnit: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "主管单位",
|
||
|
primaryKey: false,
|
||
|
field: "supervising_unit",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
constructionUnit: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "建设单位",
|
||
|
primaryKey: false,
|
||
|
field: "construction_unit",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
completionDate: {
|
||
|
type: DataTypes.DATEONLY,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "建成(或挂牌)\r\n时间",
|
||
|
primaryKey: false,
|
||
|
field: "completion_date",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
plannedStatus: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "规划\r\n情况",
|
||
|
primaryKey: false,
|
||
|
field: "planned_status",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
totalInvestment: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "建设总投资(万元)",
|
||
|
primaryKey: false,
|
||
|
field: "total_investment",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
constructionStandardName: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "建设标准名称",
|
||
|
primaryKey: false,
|
||
|
field: "construction_standard_name",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
dailyMaintenanceNumbers: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "日常维护或管理人员数量",
|
||
|
primaryKey: false,
|
||
|
field: "daily_maintenance_numbers",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
dedicatedMaintenanceNumbers: {
|
||
|
type: DataTypes.DOUBLE,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "其中:专职维护或管理人员数量",
|
||
|
primaryKey: false,
|
||
|
field: "dedicated_maintenance_numbers",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
propertyOwnerOperator: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "产权/运维单位",
|
||
|
primaryKey: false,
|
||
|
field: "property_owner_operator",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
operationInvestment: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "运维投入",
|
||
|
primaryKey: false,
|
||
|
field: "operation_investment",
|
||
|
autoIncrement: false
|
||
|
},
|
||
|
operationInvestmentchannel: {
|
||
|
type: DataTypes.TEXT,
|
||
|
allowNull: true,
|
||
|
defaultValue: null,
|
||
|
comment: "运维投入渠道",
|
||
|
primaryKey: false,
|
||
|
field: "operation_investmentchannel",
|
||
|
autoIncrement: false
|
||
|
}
|
||
|
}, {
|
||
|
tableName: "emergency_shelter_basic_info_statistics",
|
||
|
comment: "",
|
||
|
indexes: []
|
||
|
});
|
||
|
dc.models.EmergencyShelterBasicInfoStatistics = EmergencyShelterBasicInfoStatistics;
|
||
|
return EmergencyShelterBasicInfoStatistics;
|
||
|
};
|