/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const EmergencyMaterialStatistics = sequelize.define("emergencyMaterialStatistics", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "序号", primaryKey: true, field: "id", autoIncrement: true }, organization: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "管理机构", primaryKey: false, field: "organization", autoIncrement: false }, city: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "市", primaryKey: false, field: "city", autoIncrement: false }, county: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "区县", primaryKey: false, field: "county", autoIncrement: false }, street: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "乡镇街道", primaryKey: false, field: "street", autoIncrement: false }, location: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "仓库详细地址", primaryKey: false, field: "location", autoIncrement: false }, longitude: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: "经度", primaryKey: false, field: "longitude", autoIncrement: false }, latitude: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: "纬度", primaryKey: false, field: "latitude", autoIncrement: false }, responsiblePerson: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "仓库联系人", primaryKey: false, field: "responsible_person", autoIncrement: false }, phone: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "联系电话", primaryKey: false, field: "phone", autoIncrement: false }, area: { type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, comment: "仓储点面积", primaryKey: false, field: "area", autoIncrement: false }, materialDescription: { type: DataTypes.TEXT, allowNull: true, defaultValue: null, comment: "储备物资及数量(棉被、毛毯、毛巾被、帐篷、折叠床、凉席、冬装)", primaryKey: false, field: "material_description", autoIncrement: false } }, { tableName: "emergency_material_statistics", comment: "", indexes: [] }); dc.models.EmergencyMaterialStatistics = EmergencyMaterialStatistics; return EmergencyMaterialStatistics; };