ChatgptUser.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. * GPT 高级模型(thinking pro) 次数
  64. */
  65. @TableField(updateStrategy = FieldStrategy.IGNORED)
  66. private Integer gptThink;
  67. /**
  68. * GPT 高级模型(thinking pro) 限制时间
  69. */
  70. @TableField(updateStrategy = FieldStrategy.IGNORED)
  71. private Long gptThinkLimitTime;
  72. /**
  73. * 深度研究 次数
  74. */
  75. @TableField(updateStrategy = FieldStrategy.IGNORED)
  76. private Integer gptDeepStyleLimit;
  77. /**
  78. * 深度研究 限制时间
  79. */
  80. @TableField(updateStrategy = FieldStrategy.IGNORED)
  81. private Long gptDeepStyleLimitTime;
  82. /**
  83. * deepseek限制次数
  84. */
  85. private Integer dsLimitNum;
  86. /**
  87. * deepseek限制时间
  88. */
  89. private Long dsLimitTime;
  90. /**
  91. * 其他模型限制次数
  92. */
  93. private Integer otherLimitNum;
  94. /**
  95. * 其他模型限制时间
  96. */
  97. private Long otherLimitTime;
  98. /**
  99. * 是否为车队
  100. */
  101. private Boolean isCar;
  102. /**
  103. * 目前套餐包id
  104. */
  105. private Long packageId;
  106. /**
  107. * 是否封禁
  108. */
  109. private Boolean isBlock;
  110. /**
  111. * 清洗套餐包时间
  112. */
  113. @TableField(updateStrategy = FieldStrategy.IGNORED)
  114. private Date clearPackageTime;
  115. /**
  116. * 续费升级订单id
  117. */
  118. @TableField(updateStrategy = FieldStrategy.IGNORED)
  119. private Long renewOrderId;
  120. /**
  121. * 目前续费规格id
  122. */
  123. @TableField(updateStrategy = FieldStrategy.IGNORED)
  124. private Long renewSkuId;
  125. /**
  126. * 续费升级过期时间
  127. */
  128. @TableField(updateStrategy = FieldStrategy.IGNORED)
  129. private Date renewExpiryTime;
  130. /**
  131. * 用户目前模式 0旧版 1新版
  132. */
  133. private Integer model;
  134. /**
  135. * 是否是VIP
  136. */
  137. private Boolean isVip;
  138. }