/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const VillageDistance = sequelize.define("villageDistance", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "village_distance_id_uindex" }, originVillage: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: "原点村庄", primaryKey: false, field: "origin_village", autoIncrement: false, references: { key: "id", model: "village" } }, calcVillage: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "相对计算村庄", primaryKey: false, field: "calc_village", autoIncrement: false, references: { key: "id", model: "village" } }, diatance: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: "距离 m", primaryKey: false, field: "diatance", autoIncrement: false } }, { tableName: "village_distance", comment: "", indexes: [] }); dc.models.VillageDistance = VillageDistance; return VillageDistance; };