package com.ydtech.modules.admin.model.po; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; /** * 个代用户认证审核轨迹表 * @TableName sys_user_agent_track */ @TableName(value ="sys_user_agent_track") @Data public class SysUserAgentTrack implements Serializable { /** * 主键id */ @TableId(type = IdType.AUTO) private Long id; /** * 用户id */ private String userId; /** * 状态 0.注册 1.认证成功 2.认证失败 3. 银行卡认证成功 4. 银行卡认证失败 5.审核成功 6.审核失败 */ private Integer status; /** * 审核人Id */ private String approveId; /** * 审核人 */ private String approveName; /** * 审核认证信息 */ private String approveMess; /** * 创建人 */ private String createBy; /** * 创建时间 */ private LocalDateTime createTime; @TableField(exist = false) private static final long serialVersionUID = 1L; @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } SysUserAgentTrack other = (SysUserAgentTrack) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getApproveId() == null ? other.getApproveId() == null : this.getApproveId().equals(other.getApproveId())) && (this.getApproveName() == null ? other.getApproveName() == null : this.getApproveName().equals(other.getApproveName())) && (this.getApproveMess() == null ? other.getApproveMess() == null : this.getApproveMess().equals(other.getApproveMess())) && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getApproveId() == null) ? 0 : getApproveId().hashCode()); result = prime * result + ((getApproveName() == null) ? 0 : getApproveName().hashCode()); result = prime * result + ((getApproveMess() == null) ? 0 : getApproveMess().hashCode()); result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); return result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); sb.append(", userId=").append(userId); sb.append(", status=").append(status); sb.append(", approveId=").append(approveId); sb.append(", approveName=").append(approveName); sb.append(", approveMess=").append(approveMess); sb.append(", createBy=").append(createBy); sb.append(", createTime=").append(createTime); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); return sb.toString(); } }