User.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. package com.fdkankan.ucenter.entity;
  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.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. import lombok.Getter;
  9. import lombok.Setter;
  10. /**
  11. * <p>
  12. * 用户信息表
  13. * </p>
  14. *
  15. * @author
  16. * @since 2022-07-01
  17. */
  18. @Getter
  19. @Setter
  20. @TableName("t_user")
  21. public class User implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Long id;
  25. /**
  26. * 头像对应的链接地址
  27. */
  28. @TableField("head")
  29. private String head;
  30. /**
  31. * 用户密码
  32. */
  33. @TableField("password")
  34. private String password;
  35. /**
  36. * 用户邮箱
  37. */
  38. @TableField("email")
  39. private String email;
  40. /**
  41. * 注册时间
  42. */
  43. @TableField("register_time")
  44. private String registerTime;
  45. /**
  46. * 用户名
  47. */
  48. @TableField("user_name")
  49. private String userName;
  50. /**
  51. * 昵称
  52. */
  53. @TableField("nick_name")
  54. private String nickName;
  55. /**
  56. * 0表示禁言(bbs)
  57. */
  58. @TableField("status")
  59. private Integer status;
  60. /**
  61. * 0表示拒绝通知,1表示接受通知
  62. */
  63. @TableField("is_notice")
  64. private Integer isNotice;
  65. /**
  66. * 机构名称
  67. */
  68. @TableField("organization_name")
  69. private String organizationName;
  70. /**
  71. * 主页链接
  72. */
  73. @TableField("main_page")
  74. private String mainPage;
  75. /**
  76. * 所在国家,默认是86
  77. */
  78. @TableField("country")
  79. private String country;
  80. /**
  81. * 所在省份
  82. */
  83. @TableField("province")
  84. private String province;
  85. /**
  86. * 所在城市
  87. */
  88. @TableField("city")
  89. private String city;
  90. /**
  91. * 可下载场景总数
  92. */
  93. @TableField("download_num_total")
  94. private Integer downloadNumTotal;
  95. /**
  96. * 已下载场景总数
  97. */
  98. @TableField("download_num")
  99. private Integer downloadNum;
  100. /**
  101. * 深时可下载场景总数
  102. */
  103. @TableField("ss_download_num_total")
  104. private Integer ssDownloadNumTotal;
  105. /**
  106. * 深时已下载场景总数
  107. */
  108. @TableField("ss_download_num")
  109. private Integer ssDownloadNum;
  110. /**
  111. * 创建时间
  112. */
  113. @TableField("create_time")
  114. private String createTime;
  115. /**
  116. * 记录的状态,A: 生效,I: 禁用
  117. */
  118. @TableField("rec_status")
  119. @TableLogic(value = "A",delval = "I")
  120. private String recStatus;
  121. /**
  122. * 更新时间
  123. */
  124. @TableField("update_time")
  125. private String updateTime;
  126. }