GroupsRelation.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. private Date submitTime;
  52. private Date sendTime;
  53. private String operator;
  54. private RechargeStatus rechargeStatus;
  55. /**
  56. * 代充错误信息
  57. */
  58. private String rechargeErrorInfo;
  59. /**
  60. * 邀请制家庭组链接
  61. */
  62. private String inviteLink;
  63. /**
  64. * 联系方式
  65. */
  66. private String contact;
  67. /**
  68. * 续费意愿处理状态
  69. */
  70. private Boolean renewStatus;
  71. /**
  72. * 处理状态
  73. */
  74. private Boolean isHandle;
  75. /**
  76. * 客服
  77. */
  78. private String customerService;
  79. /**
  80. * midJourney 登录安全码
  81. */
  82. private String verifyCode;
  83. private Long yhsId;
  84. /**
  85. * 店铺类型
  86. * 0无 1.普通店铺 2.镜像店铺
  87. */
  88. private Integer cmt;
  89. /**
  90. * 获取权益时的订单id
  91. */
  92. @TableField(exist = false)
  93. @DbIgnore
  94. private Long orderId;
  95. /**
  96. * 更换车票时,新车票id
  97. */
  98. @TableField(exist = false)
  99. @DbIgnore
  100. private Long newRelationId;
  101. /**
  102. * 车队目前可用停车数
  103. */
  104. @TableField(exist = false)
  105. @DbIgnore
  106. private Integer groupsAvailParkingNum;
  107. /**
  108. * 车队最多可用车位数
  109. */
  110. @TableField(exist = false)
  111. @DbIgnore
  112. private Integer maxNum;
  113. /**
  114. * 车票获取类型 默认1购买,2.体验,3.镜像裂变
  115. */
  116. private Integer aqType;
  117. /**
  118. * 奈飞pinCode
  119. */
  120. private String pinCode;
  121. /**
  122. * 是否是VIP
  123. */
  124. private Boolean isVip;
  125. /**
  126. * 是否是claude code 续费升级
  127. */
  128. @DbIgnore
  129. @TableField(exist = false)
  130. private Boolean isClaudeCodeUpgrade;
  131. @AllArgsConstructor
  132. @Getter
  133. public enum Status{
  134. locking("锁定中"),
  135. overdue("过期"),
  136. validity("有效"),
  137. none("无人"),
  138. outside("额外")
  139. ;
  140. private String desc;
  141. }
  142. @AllArgsConstructor
  143. @Getter
  144. public enum RechargeStatus{
  145. waiting("待充值"),
  146. complete("已完成"),
  147. error("账号错误"),
  148. recharge_error("充值错误"),
  149. recharging("充值中"),
  150. ;
  151. private String desc;
  152. }
  153. }