CodexUser.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldStrategy;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import lombok.Getter;
  5. import lombok.Setter;
  6. import java.util.Date;
  7. /**
  8. * 项目名: yhlxj11111111
  9. * 文件名: CodexUser
  10. * 创建者: Claude
  11. * 创建时间:2025/9/15
  12. */
  13. @Getter
  14. @Setter
  15. public class CodexUser extends BaseEntity {
  16. /**
  17. * 用户ID
  18. */
  19. private Long userId;
  20. /**
  21. * 套餐名
  22. */
  23. private String planName;
  24. /**
  25. * 每日预算上限
  26. */
  27. @TableField(updateStrategy = FieldStrategy.IGNORED)
  28. private Integer openaiDailyLimit;
  29. /**
  30. * 每月预算上限
  31. */
  32. @TableField(updateStrategy = FieldStrategy.IGNORED)
  33. private Integer openaiQuota;
  34. /**
  35. * 座位ID
  36. */
  37. private Long relationId;
  38. /**
  39. * 过期时间
  40. */
  41. private Date expiryTime;
  42. /**
  43. * 续费升级订单id
  44. */
  45. @TableField(updateStrategy = FieldStrategy.IGNORED)
  46. private Long renewOrderId;
  47. /**
  48. * 续费升级skuid
  49. */
  50. @TableField(updateStrategy = FieldStrategy.IGNORED)
  51. private Long renewSkuId;
  52. /**
  53. * 续费升级过期时间
  54. */
  55. @TableField(updateStrategy = FieldStrategy.IGNORED)
  56. private Date renewExpiryTime;
  57. /**
  58. * 是否重试更新
  59. */
  60. private Boolean isRetry;
  61. /**
  62. * 是否购买 默认false
  63. */
  64. private Boolean isPay;
  65. }