ChatgptUser.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldStrategy;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.cyksj.model.BaseEntity;
  6. import com.ejlchina.searcher.bean.SearchBean;
  7. import lombok.Data;
  8. import java.util.Date;
  9. /**
  10. * @author chan
  11. * @date 2024/3/18 17:10
  12. */
  13. @Data
  14. @TableName("chatgpt_user")
  15. @SearchBean(tables = "chatgpt_user")
  16. public class ChatgptUser extends BaseEntity {
  17. /**
  18. * 名称
  19. */
  20. private String name;
  21. /**
  22. * 头像
  23. */
  24. private String img;
  25. /**
  26. * 用户凭证
  27. */
  28. @TableField("userToken")
  29. private String userToken;
  30. /**
  31. * 过期时间
  32. */
  33. @TableField("expireTime")
  34. private Date expireTime;
  35. /**
  36. * 是否为plus
  37. */
  38. @TableField("isPlus")
  39. private Integer isPlus;
  40. /**
  41. * sessionId
  42. */
  43. @TableField("sessionId")
  44. private Long sessionId;
  45. /**
  46. * 车票id
  47. */
  48. @TableField("relationId")
  49. private Long relationId;
  50. /**
  51. * 备注
  52. */
  53. private String remark;
  54. /**
  55. * 限制次数
  56. */
  57. private Integer limitNum;
  58. /**
  59. * 限制时间
  60. */
  61. private Long limitTime;
  62. /**
  63. * 是否为车队
  64. */
  65. private Boolean isCar;
  66. /**
  67. * 目前套餐包id
  68. */
  69. private Long packageId;
  70. /**
  71. * 是否封禁
  72. */
  73. private Boolean isBlock;
  74. /**
  75. * 清洗套餐包时间
  76. */
  77. @TableField(updateStrategy = FieldStrategy.IGNORED)
  78. private Date clearPackageTime;
  79. /**
  80. * 续费升级订单id
  81. */
  82. @TableField(updateStrategy = FieldStrategy.IGNORED)
  83. private Long renewOrderId;
  84. /**
  85. * 目前续费规格id
  86. */
  87. @TableField(updateStrategy = FieldStrategy.IGNORED)
  88. private Long renewSkuId;
  89. /**
  90. * 续费升级过期时间
  91. */
  92. @TableField(updateStrategy = FieldStrategy.IGNORED)
  93. private Date renewExpiryTime;
  94. /**
  95. * 用户目前模式 0旧版 1新版
  96. */
  97. private Integer model;
  98. }