GroupsRelation.java 3.4 KB

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