admin
2024-01-23 81da61b828e29b7745e1382dfbbaeb685dc083ef
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/SMSHistory.java
@@ -1,73 +1,74 @@
package com.yeshi.fanli.entity.bus.user;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
/**
 * 短信验证码发送历史记录
 *
 * @author Administrator
 *
 */
@Table("yeshi_ec_sms_history")
public class SMSHistory {
   public final static int TYPE_LOGIN = 1;// 登录
   public final static int TYPE_BIND = 2;// 绑定
   public final static int TYPE_EXTRACT = 3;// 提现
   @Column(name = "sh_id")
   private Long id;
   @Column(name = "sh_type")
   private Integer type;
   @Column(name = "sh_phone")
   private String phone;
   @Column(name = "sh_content")
   private String content;
   @Column(name = "sh_createtime")
   private Date createTime;
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public Integer getType() {
      return type;
   }
   public void setType(Integer type) {
      this.type = type;
   }
   public String getPhone() {
      return phone;
   }
   public void setPhone(String phone) {
      this.phone = phone;
   }
   public String getContent() {
      return content;
   }
   public void setContent(String content) {
      this.content = content;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
}
package com.yeshi.fanli.entity.bus.user;
import java.util.Date;
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
/**
 * 短信验证码发送历史记录
 *
 * @author Administrator
 *
 */
@Table("yeshi_ec_sms_history")
public class SMSHistory {
   public final static int TYPE_LOGIN = 1;// 登录
   public final static int TYPE_BIND = 2;// 绑定
   public final static int TYPE_EXTRACT = 3;// 提现
   public final static int TYPE_REMVOE = 4;// 绑定
   @Column(name = "sh_id")
   private Long id;
   @Column(name = "sh_type")
   private Integer type;
   @Column(name = "sh_phone")
   private String phone;
   @Column(name = "sh_content")
   private String content;
   @Column(name = "sh_createtime")
   private Date createTime;
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public Integer getType() {
      return type;
   }
   public void setType(Integer type) {
      this.type = type;
   }
   public String getPhone() {
      return phone;
   }
   public void setPhone(String phone) {
      this.phone = phone;
   }
   public String getContent() {
      return content;
   }
   public void setContent(String content) {
      this.content = content;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
}