/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const PatrolPlanUser = sequelize.define("patrolPlanUser", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, }, patrolPlanId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "patrol_plan_id", autoIncrement: false, references: { key: "id", model: "patrolPlan" } }, userId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "user_id", autoIncrement: false, references: { key: "id", model: "user" } } }, { tableName: "patrol_plan_user", comment: "", indexes: [] }); dc.models.PatrolPlanUser = PatrolPlanUser; return PatrolPlanUser; };