/* eslint-disable*/ 'use strict'; module.exports = dc => { const DataTypes = dc.ORM; const sequelize = dc.orm; const PhoneValidateCode = sequelize.define("phoneValidateCode", { id: { type: DataTypes.INTEGER, allowNull: false, defaultValue: null, comment: null, primaryKey: true, field: "id", autoIncrement: true }, phone: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "phone", autoIncrement: false }, code: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "code", autoIncrement: false }, sig: { type: DataTypes.STRING, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "sig", autoIncrement: false }, expired: { type: DataTypes.DATE, allowNull: false, defaultValue: null, comment: null, primaryKey: false, field: "expired", autoIncrement: false } }, { tableName: "phone_validate_code", comment: "", indexes: [] }); dc.models.PhoneValidateCode = PhoneValidateCode; return PhoneValidateCode; };