/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const PatrolTemplateCheckItems = sequelize.define("patrolTemplateCheckItems", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "patrol_template_check_items_id_uindex" }, templateId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "template_id", autoIncrement: false, references: { key: "id", model: "patrolTemplate" } }, checkItemsId: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "check_items_id", autoIncrement: false, references: { key: "id", model: "checkItems" } } }, { tableName: "patrol_template_check_items", comment: "", indexes: [] }); dc.models.PatrolTemplateCheckItems = PatrolTemplateCheckItems; return PatrolTemplateCheckItems; };