/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const FloodControlHeadquarters = sequelize.define("floodControlHeadquarters", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "序号", primaryKey: true, field: "id", autoIncrement: true }, name: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: "名称", primaryKey: false, field: "name", autoIncrement: false }, location: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "设立地点", primaryKey: false, field: "location", autoIncrement: false }, dikeLength: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "管辖堤长", primaryKey: false, field: "dike_length", autoIncrement: false }, commander: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "指挥", primaryKey: false, field: "commander", autoIncrement: false } }, { tableName: "flood_control_headquarters", comment: "", indexes: [] }); dc.models.FloodControlHeadquarters = FloodControlHeadquarters; return FloodControlHeadquarters; };