/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const Metting = sequelize.define("metting", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true, unique: "metting_id_uindex" }, siteId: { type: DataTypes.INTEGER, //allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "site_id", autoIncrement: false }, name: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "name", autoIncrement: false }, type: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "type", autoIncrement: false }, desc: { type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "desc", autoIncrement: false }, signFile: { type: DataTypes.ARRAY(DataTypes.STRING), allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "sign_file", autoIncrement: false }, recordingVideo: { type: DataTypes.ARRAY(DataTypes.STRING), allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "recording_video", autoIncrement: false }, attachments: { type: DataTypes.ARRAY(DataTypes.STRING), allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "attachments", autoIncrement: false }, submitUser: { type: DataTypes.INTEGER, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "submit_user", autoIncrement: false }, submitTime: { type: DataTypes.DATE, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "submit_time", autoIncrement: false }, date: { type: DataTypes.DATEONLY, allowNull: true, defaultValue: null, comment: null, primaryKey: false, field: "date", autoIncrement: false } }, { tableName: "metting", comment: "", indexes: [] }); dc.models.Metting = Metting; return Metting; };