ChatgptUser.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.cyksj.model.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import com.ejlchina.searcher.bean.SearchBean;
  5. import lombok.Data;
  6. import java.util.Date;
  7. /**
  8. * @author chan
  9. * @date 2024/3/18 17:10
  10. */
  11. @Data
  12. @TableName("chatgpt_user")
  13. @SearchBean(tables = "chatgpt_user")
  14. public class ChatgptUser extends BaseEntity {
  15. /**
  16. * 名称
  17. */
  18. private String name;
  19. /**
  20. * 头像
  21. */
  22. private String img;
  23. /**
  24. * 用户凭证
  25. */
  26. @TableField("userToken")
  27. private String userToken;
  28. /**
  29. * 过期时间
  30. */
  31. @TableField("expireTime")
  32. private Date expireTime;
  33. /**
  34. * 是否为plus
  35. */
  36. @TableField("isPlus")
  37. private Integer isPlus;
  38. /**
  39. * sessionId
  40. */
  41. @TableField("sessionId")
  42. private Long sessionId;
  43. /**
  44. * 车票id
  45. */
  46. @TableField("relationId")
  47. private Long relationId;
  48. /**
  49. * 备注
  50. */
  51. private String remark;
  52. }