GroupsRelation.java 2.6 KB

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