猫妈狗爸伴宠师小程序后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

234 lines
5.7 KiB

3 months ago
2 months ago
3 months ago
2 months ago
3 months ago
2 months ago
3 months ago
2 months ago
3 months ago
2 months ago
3 months ago
  1. package com.ruoyi.model.domain;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import lombok.Data;
  7. import org.apache.commons.lang3.builder.ToStringBuilder;
  8. import org.apache.commons.lang3.builder.ToStringStyle;
  9. import com.ruoyi.common.annotation.Excel;
  10. import com.ruoyi.common.core.domain.BaseEntity;
  11. /**
  12. * 用户对象 app_users
  13. *
  14. * @author ruoyi
  15. * @date 2025-03-08
  16. */
  17. @Data
  18. public class AppUsers extends BaseEntity
  19. {
  20. private static final long serialVersionUID = 1L;
  21. /** 用户编号 */
  22. private Long userId;
  23. /** 逻辑删除 */
  24. private Integer delFlag;
  25. /** 修改人 */
  26. @Excel(name = "修改人")
  27. private String updatorBy;
  28. /** 用户头像 */
  29. @Excel(name = "用户头像")
  30. private String userImage;
  31. /** 用户名称 */
  32. @Excel(name = "用户名称")
  33. private String userName;
  34. /** 用户状态, 0==为注册, 1==已注册为认证 */
  35. @Excel(name = "用户状态, 0==为注册, 1==已注册为认证")
  36. private Long userState;
  37. /** 用户电话 */
  38. @Excel(name = "用户电话")
  39. private String userTelephone;
  40. /** 只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段 */
  41. @Excel(name = "只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段")
  42. private String unionid;
  43. /** 用户的标识,对当前公众号唯一 */
  44. @Excel(name = "用户的标识,对当前公众号唯一")
  45. private String openid;
  46. /** token */
  47. @Excel(name = "token")
  48. private String accessToken;
  49. /** 过期时间 */
  50. @Excel(name = "过期时间")
  51. private Long expiresIn;
  52. /** 刷新token */
  53. @Excel(name = "刷新token")
  54. private String refreshToken;
  55. /** 过期时间 */
  56. @JsonFormat(pattern = "yyyy-MM-dd")
  57. @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
  58. private Date expireTime;
  59. /** 是否合伙人 */
  60. @Excel(name = "是否合伙人")
  61. private Integer userHh;
  62. /** 是否伴宠师 */
  63. @Excel(name = "是否伴宠师")
  64. private Integer userBcs;
  65. @TableField(exist = false)
  66. private Date recentlyPayTime;
  67. @TableField(exist = false)
  68. private BigDecimal accumulate_money = new BigDecimal(100) ;
  69. @TableField(exist = false)
  70. private BigDecimal reward_money = new BigDecimal(99) ;
  71. // public void setUserId(Long userId)
  72. // {
  73. // this.userId = userId;
  74. // }
  75. //
  76. // public Long getUserId()
  77. // {
  78. // return userId;
  79. // }
  80. // public void setDelFlag(Integer delFlag)
  81. // {
  82. // this.delFlag = delFlag;
  83. // }
  84. //
  85. // public Integer getDelFlag()
  86. // {
  87. // return delFlag;
  88. // }
  89. // public void setUpdatorBy(String updatorBy)
  90. // {
  91. // this.updatorBy = updatorBy;
  92. // }
  93. //
  94. // public String getUpdatorBy()
  95. // {
  96. // return updatorBy;
  97. // }
  98. // public void setUserImage(String userImage)
  99. // {
  100. // this.userImage = userImage;
  101. // }
  102. //
  103. // public String getUserImage()
  104. // {
  105. // return userImage;
  106. // }
  107. // public void setUserName(String userName)
  108. // {
  109. // this.userName = userName;
  110. // }
  111. //
  112. // public String getUserName()
  113. // {
  114. // return userName;
  115. // }
  116. // public void setUserState(Long userState)
  117. // {
  118. // this.userState = userState;
  119. // }
  120. //
  121. // public Long getUserState()
  122. // {
  123. // return userState;
  124. // }
  125. // public void setUserTelephone(String userTelephone)
  126. // {
  127. // this.userTelephone = userTelephone;
  128. // }
  129. //
  130. // public String getUserTelephone()
  131. // {
  132. // return userTelephone;
  133. // }
  134. // public void setUnionid(String unionid)
  135. // {
  136. // this.unionid = unionid;
  137. // }
  138. //
  139. // public String getUnionid()
  140. // {
  141. // return unionid;
  142. // }
  143. // public void setOpenid(String openid)
  144. // {
  145. // this.openid = openid;
  146. // }
  147. //
  148. // public String getOpenid()
  149. // {
  150. // return openid;
  151. // }
  152. // public void setAccessToken(String accessToken)
  153. // {
  154. // this.accessToken = accessToken;
  155. // }
  156. //
  157. // public String getAccessToken()
  158. // {
  159. // return accessToken;
  160. // }
  161. // public void setExpiresIn(Long expiresIn)
  162. // {
  163. // this.expiresIn = expiresIn;
  164. // }
  165. //
  166. // public Long getExpiresIn()
  167. // {
  168. // return expiresIn;
  169. // }
  170. // public void setRefreshToken(String refreshToken)
  171. // {
  172. // this.refreshToken = refreshToken;
  173. // }
  174. //
  175. // public String getRefreshToken()
  176. // {
  177. // return refreshToken;
  178. // }
  179. // public void setExpireTime(Date expireTime)
  180. // {
  181. // this.expireTime = expireTime;
  182. // }
  183. //
  184. // public Date getExpireTime()
  185. // {
  186. // return expireTime;
  187. // }
  188. //
  189. // @Override
  190. // public String toString() {
  191. // return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  192. // .append("userId", getUserId())
  193. // .append("createBy", getCreateBy())
  194. // .append("createTime", getCreateTime())
  195. // .append("delFlag", getDelFlag())
  196. // .append("remark", getRemark())
  197. // .append("updateTime", getUpdateTime())
  198. // .append("updatorBy", getUpdatorBy())
  199. // .append("userImage", getUserImage())
  200. // .append("userName", getUserName())
  201. // .append("userState", getUserState())
  202. // .append("userTelephone", getUserTelephone())
  203. // .append("unionid", getUnionid())
  204. // .append("openid", getOpenid())
  205. // .append("accessToken", getAccessToken())
  206. // .append("expiresIn", getExpiresIn())
  207. // .append("refreshToken", getRefreshToken())
  208. // .append("expireTime", getExpireTime())
  209. // .toString();
  210. // }
  211. }