/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const Village = sequelize.define("village", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "village_id_uindex" }, name: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "name", autoIncrement: false }, townshipCode: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: "所属乡镇代码", primaryKey: false, field: "township_code", 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 } }, { tableName: "village", comment: "", indexes: [] }); dc.models.Village = Village; return Village; };