ExcelGptMirrorAccountData.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. package com.cyksj.model.excel;
  2. import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
  3. import com.alibaba.excel.annotation.ExcelProperty;
  4. import com.ejlchina.searcher.bean.DbField;
  5. import com.ejlchina.searcher.bean.DbIgnore;
  6. import com.ejlchina.searcher.bean.SearchBean;
  7. import lombok.Getter;
  8. import lombok.Setter;
  9. import java.util.Date;
  10. /**
  11. * 项目名: yhlxj2
  12. * 文件名: ExcelGptMirrorAccountData
  13. * 创建者: JavaZou
  14. * 创建时间:2024/9/27 17:18
  15. */
  16. @Getter
  17. @Setter
  18. @SearchBean(tables = "chatgpt_session cs",
  19. where = "cs.isCar = 1")
  20. @ExcelIgnoreUnannotated
  21. public class ExcelGptMirrorAccountData {
  22. @DbField("cs.id")
  23. @ExcelProperty("id")
  24. private Long id;
  25. /**
  26. * 账号
  27. */
  28. @DbField("cs.email")
  29. @ExcelProperty("账号")
  30. private String email;
  31. @DbField("cs.password")
  32. @ExcelProperty("账号密码")
  33. private String password;
  34. @DbField("cs.email_password")
  35. @ExcelProperty("邮箱密码")
  36. private String emailPassword;
  37. @DbField("cs.carID")
  38. @ExcelProperty("车队ID")
  39. private String carId;
  40. /**
  41. * 状态 1有效 1无效
  42. */
  43. @DbField("cs.status")
  44. private Integer status;
  45. /**
  46. * 状态 1有效 1无效
  47. */
  48. @DbField("if(cs.status=1,'有效','无效')")
  49. @ExcelProperty("车队状态")
  50. private String statusStr;
  51. /**
  52. * 是否为plus会员
  53. */
  54. @DbField("isPlus")
  55. private Integer isPlus;
  56. /**
  57. * 是否为plus会员
  58. */
  59. @DbField("if(isPlus,'是','否')")
  60. @ExcelProperty("是否为plus会员")
  61. private String isPlusStr;
  62. @DbField("isCar")
  63. private Boolean isCar;
  64. /**
  65. * 车名称
  66. */
  67. @DbField("cs.car_name")
  68. @ExcelProperty("车队名称")
  69. private String carName;
  70. /**
  71. * 官方session
  72. */
  73. @DbField("cs.officialSession")
  74. @ExcelProperty("官方session")
  75. private String officialSession;
  76. @DbIgnore
  77. @ExcelProperty("过期时间")
  78. private Date expiryTime;
  79. /**
  80. * 双重验证密钥
  81. */
  82. @DbField("cs.api_secret")
  83. @ExcelProperty("双重验证密钥")
  84. private String apiSecret;
  85. /**
  86. * 备用安全码
  87. */
  88. @DbField("cs.verify_codes")
  89. @ExcelProperty("备用安全码")
  90. private String verifyCodes;
  91. /**
  92. * 分数
  93. */
  94. @DbField("cs.score")
  95. private Double score;
  96. /**
  97. * 备注
  98. */
  99. @DbField("cs.remark")
  100. @ExcelProperty("备注")
  101. private String remark;
  102. @DbField("cs.created_time")
  103. private Date createdTime;
  104. }