猫妈狗爸伴宠师小程序后端代码
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.

268 lines
6.1 KiB

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