/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const RescueTeams = sequelize.define("rescueTeams", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "序号", primaryKey: true, field: "id", autoIncrement: true }, teamName: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: "救援队伍名称", primaryKey: false, field: "team_name", autoIncrement: false }, supervisoryUnit: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "主管单位", primaryKey: false, field: "supervisory_unit", autoIncrement: false }, leaderContactPhone: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "负责人及\r\n联系电话", primaryKey: false, field: "leader_contact_phone", autoIncrement: false }, emergencyContactPhone: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "应急联系人及联系电话", primaryKey: false, field: "emergency_contact_phone", autoIncrement: false }, totalMembers: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "总人数", primaryKey: false, field: "total_members", autoIncrement: false }, teamType: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "队伍类型", primaryKey: false, field: "team_type", autoIncrement: false }, baseAddress: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "驻地地址", primaryKey: false, field: "base_address", autoIncrement: false }, teamCategory: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "队伍种类", primaryKey: false, field: "team_category", autoIncrement: false }, location: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "经纬度", primaryKey: false, field: "location", autoIncrement: false } }, { tableName: "rescue_teams", comment: "", indexes: [] }); dc.models.RescueTeams = RescueTeams; return RescueTeams; };