GroupsRelation.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.ejlchina.searcher.bean.DbIgnore;
  4. import lombok.AllArgsConstructor;
  5. import lombok.Getter;
  6. import lombok.Setter;
  7. import java.util.Date;
  8. /**
  9. * @author chan
  10. * @date 2022/9/26 6:31 PM
  11. */
  12. @Getter
  13. @Setter
  14. public class GroupsRelation extends BaseEntity {
  15. private Long groupsId;
  16. private Long userId;
  17. private Date startTime;
  18. private Date expiryTime;
  19. private Integer num;
  20. /**
  21. * locking 锁定中
  22. * overdue 过期
  23. * validity 有效
  24. * none 无人
  25. */
  26. private Status status;
  27. /**
  28. * 账号
  29. */
  30. private String account;
  31. /**
  32. * 密码
  33. */
  34. private String password;
  35. /***
  36. * 代充次数
  37. */
  38. private Integer rechargeNum;
  39. /**
  40. * 代充剩余次数
  41. */
  42. private Integer rechargeRemainNum;
  43. /**
  44. * gpt卡密
  45. */
  46. private String cardKey;
  47. /**
  48. * gpt自动充值任务id
  49. */
  50. private String gptTaskId;
  51. /**
  52. * gpt 代充token
  53. */
  54. private String gptToken;
  55. private Date submitTime;
  56. private Date sendTime;
  57. private String operator;
  58. private RechargeStatus rechargeStatus;
  59. /**
  60. * 代充错误信息
  61. */
  62. private String rechargeErrorInfo;
  63. /**
  64. * 代充备注
  65. */
  66. private String rechargeRemark;
  67. /**
  68. * 邀请制家庭组链接
  69. */
  70. private String inviteLink;
  71. /**
  72. * 联系方式
  73. */
  74. private String contact;
  75. /**
  76. * 备用验证码
  77. */
  78. private String bpVerifyCode;
  79. /**
  80. * 续费意愿处理状态
  81. */
  82. private Boolean renewStatus;
  83. /**
  84. * 处理状态
  85. */
  86. private Boolean isHandle;
  87. /**
  88. * 客服
  89. */
  90. private String customerService;
  91. /**
  92. * midJourney 登录安全码
  93. */
  94. private String verifyCode;
  95. private Long yhsId;
  96. /**
  97. * 店铺类型
  98. * 0无 1.普通店铺 2.镜像店铺
  99. */
  100. private Integer cmt;
  101. /**
  102. * 获取权益时的订单id
  103. */
  104. @TableField(exist = false)
  105. @DbIgnore
  106. private Long orderId;
  107. /**
  108. * 更换车票时,新车票id
  109. */
  110. @TableField(exist = false)
  111. @DbIgnore
  112. private Long newRelationId;
  113. /**
  114. * 车队目前可用停车数
  115. */
  116. @TableField(exist = false)
  117. @DbIgnore
  118. private Integer groupsAvailParkingNum;
  119. /**
  120. * 车队最多可用车位数
  121. */
  122. @TableField(exist = false)
  123. @DbIgnore
  124. private Integer maxNum;
  125. /**
  126. * 车票获取类型 默认1购买,2.体验,3.镜像裂变
  127. */
  128. private Integer aqType;
  129. /**
  130. * 奈飞pinCode
  131. */
  132. private String pinCode;
  133. /**
  134. * 是否是VIP
  135. */
  136. private Boolean isVip;
  137. /**
  138. * 是否是claude code/codex 续费
  139. */
  140. @DbIgnore
  141. @TableField(exist = false)
  142. private Boolean isRenew;
  143. /**
  144. * 是否是claude code 续费升级
  145. */
  146. @DbIgnore
  147. @TableField(exist = false)
  148. private Boolean isClaudeCodeUpgrade;
  149. /**
  150. * 是否是codex 续费升级
  151. */
  152. @DbIgnore
  153. @TableField(exist = false)
  154. private Boolean isCodexUpgrade;
  155. /**
  156. * 是否被冻结
  157. * 默认false
  158. */
  159. private Boolean isFrozen;
  160. /**
  161. * 是否恢复中
  162. * 默认false
  163. */
  164. private Boolean isRecover;
  165. /**
  166. * 解冻时长
  167. */
  168. private Date unfrozenTime;
  169. /**
  170. * 冻结保留天数
  171. */
  172. private Integer reservedDays;
  173. /**
  174. * 补偿 天数
  175. */
  176. private Integer compensationDays;
  177. @AllArgsConstructor
  178. @Getter
  179. public enum Status{
  180. locking("锁定中"),
  181. overdue("过期"),
  182. validity("有效"),
  183. none("无人"),
  184. outside("额外")
  185. ;
  186. private String desc;
  187. }
  188. @AllArgsConstructor
  189. @Getter
  190. public enum RechargeStatus{
  191. waiting("待充值"),
  192. complete("已完成"),
  193. error("账号错误"),
  194. recharge_error("充值错误"),
  195. recharging("充值中"),
  196. ;
  197. private String desc;
  198. }
  199. }