/* eslint-disable*/
'use strict';

module.exports = dc => {
   const DataTypes = dc.ORM;
   const sequelize = dc.orm;
   const SecretYingshi = sequelize.define("secretYingshi", {
      id: {
         type: DataTypes.INTEGER,
         allowNull: false,
         defaultValue: null,
         comment: null,
         primaryKey: true,
         field: "id",
         autoIncrement: true,
         unique: "secret_yingshi_id_uindex"
      },
      key: {
         type: DataTypes.STRING,
         allowNull: false,
         defaultValue: null,
         comment: null,
         primaryKey: false,
         field: "key",
         autoIncrement: false
      },
      secret: {
         type: DataTypes.STRING,
         allowNull: false,
         defaultValue: null,
         comment: null,
         primaryKey: false,
         field: "secret",
         autoIncrement: false
      },
      token: {
         type: DataTypes.STRING,
         allowNull: true,
         defaultValue: null,
         comment: null,
         primaryKey: false,
         field: "token",
         autoIncrement: false
      },
      expire: {
         type: DataTypes.STRING,
         allowNull: true,
         defaultValue: null,
         comment: null,
         primaryKey: false,
         field: "expire",
         autoIncrement: false
      }
   }, {
      tableName: "secret_yingshi",
      comment: "",
      indexes: []
   });

   dc.models.SecretYingshi = SecretYingshi;

   return SecretYingshi;
};