SysUserAgentTrack.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package com.ydtech.modules.admin.model.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.Data;
  7. import java.io.Serializable;
  8. import java.time.LocalDateTime;
  9. import java.util.Date;
  10. /**
  11. * 个代用户认证审核轨迹表
  12. * @TableName sys_user_agent_track
  13. */
  14. @TableName(value ="sys_user_agent_track")
  15. @Data
  16. public class SysUserAgentTrack implements Serializable {
  17. /**
  18. * 主键id
  19. */
  20. @TableId(type = IdType.AUTO)
  21. private Long id;
  22. /**
  23. * 用户id
  24. */
  25. private String userId;
  26. /**
  27. * 状态 0.注册 1.认证成功 2.认证失败 3. 银行卡认证成功 4. 银行卡认证失败 5.审核成功 6.审核失败
  28. */
  29. private Integer status;
  30. /**
  31. * 审核人Id
  32. */
  33. private String approveId;
  34. /**
  35. * 审核人
  36. */
  37. private String approveName;
  38. /**
  39. * 审核认证信息
  40. */
  41. private String approveMess;
  42. /**
  43. * 创建人
  44. */
  45. private String createBy;
  46. /**
  47. * 创建时间
  48. */
  49. private LocalDateTime createTime;
  50. @TableField(exist = false)
  51. private static final long serialVersionUID = 1L;
  52. @Override
  53. public boolean equals(Object that) {
  54. if (this == that) {
  55. return true;
  56. }
  57. if (that == null) {
  58. return false;
  59. }
  60. if (getClass() != that.getClass()) {
  61. return false;
  62. }
  63. SysUserAgentTrack other = (SysUserAgentTrack) that;
  64. return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
  65. && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
  66. && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
  67. && (this.getApproveId() == null ? other.getApproveId() == null : this.getApproveId().equals(other.getApproveId()))
  68. && (this.getApproveName() == null ? other.getApproveName() == null : this.getApproveName().equals(other.getApproveName()))
  69. && (this.getApproveMess() == null ? other.getApproveMess() == null : this.getApproveMess().equals(other.getApproveMess()))
  70. && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
  71. && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
  72. }
  73. @Override
  74. public int hashCode() {
  75. final int prime = 31;
  76. int result = 1;
  77. result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
  78. result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
  79. result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
  80. result = prime * result + ((getApproveId() == null) ? 0 : getApproveId().hashCode());
  81. result = prime * result + ((getApproveName() == null) ? 0 : getApproveName().hashCode());
  82. result = prime * result + ((getApproveMess() == null) ? 0 : getApproveMess().hashCode());
  83. result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
  84. result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
  85. return result;
  86. }
  87. @Override
  88. public String toString() {
  89. StringBuilder sb = new StringBuilder();
  90. sb.append(getClass().getSimpleName());
  91. sb.append(" [");
  92. sb.append("Hash = ").append(hashCode());
  93. sb.append(", id=").append(id);
  94. sb.append(", userId=").append(userId);
  95. sb.append(", status=").append(status);
  96. sb.append(", approveId=").append(approveId);
  97. sb.append(", approveName=").append(approveName);
  98. sb.append(", approveMess=").append(approveMess);
  99. sb.append(", createBy=").append(createBy);
  100. sb.append(", createTime=").append(createTime);
  101. sb.append(", serialVersionUID=").append(serialVersionUID);
  102. sb.append("]");
  103. return sb.toString();
  104. }
  105. }