GroupsRelation.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 Boolean renewStatus;
  43. /**
  44. * 处理状态
  45. */
  46. private Boolean isHandle;
  47. /**
  48. * 客服
  49. */
  50. private String customerService;
  51. /**
  52. * midJourney 登录安全码
  53. */
  54. private String verifyCode;
  55. /**
  56. * 获取权益时的订单id
  57. */
  58. @TableField(exist = false)
  59. @DbIgnore
  60. private Long orderId;
  61. /**
  62. * 更换车票时,新车票id
  63. */
  64. @TableField(exist = false)
  65. @DbIgnore
  66. private Long newRelationId;
  67. /**
  68. * 车队目前可用停车数
  69. */
  70. @TableField(exist = false)
  71. @DbIgnore
  72. private Integer groupsAvailParkingNum;
  73. /**
  74. * 车队最多可用车位数
  75. */
  76. @TableField(exist = false)
  77. @DbIgnore
  78. private Integer maxNum;
  79. /**
  80. * 车票获取类型 默认1购买,2.体验
  81. */
  82. private Integer aqType;
  83. @AllArgsConstructor
  84. @Getter
  85. public enum Status{
  86. locking("锁定中"),
  87. overdue("过期"),
  88. validity("有效"),
  89. none("无人"),
  90. outside("额外")
  91. ;
  92. private String desc;
  93. }
  94. @AllArgsConstructor
  95. @Getter
  96. public enum RechargeStatus{
  97. waiting("待充值"),
  98. complete("已完成"),
  99. error("账号错误"),
  100. ;
  101. private String desc;
  102. }
  103. }