package com.cyksj.model.excel; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import com.ejlchina.searcher.bean.DbField; import com.ejlchina.searcher.bean.DbIgnore; import com.ejlchina.searcher.bean.SearchBean; import lombok.Getter; import lombok.Setter; import java.util.Date; /** * 项目名: yhlxj2 * 文件名: ExcelGptMirrorAccountData * 创建者: JavaZou * 创建时间:2024/9/27 17:18 */ @Getter @Setter @SearchBean(tables = "chatgpt_session cs", where = "cs.isCar = 1") @ExcelIgnoreUnannotated public class ExcelGptMirrorAccountData { @DbField("cs.id") @ExcelProperty("id") private Long id; /** * 账号 */ @DbField("cs.email") @ExcelProperty("账号") private String email; @DbField("cs.password") @ExcelProperty("账号密码") private String password; @DbField("cs.email_password") @ExcelProperty("邮箱密码") private String emailPassword; @DbField("cs.carID") @ExcelProperty("车队ID") private String carId; /** * 状态 1有效 1无效 */ @DbField("cs.status") private Integer status; /** * 状态 1有效 1无效 */ @DbField("if(cs.status=1,'有效','无效')") @ExcelProperty("车队状态") private String statusStr; /** * 是否为plus会员 */ @DbField("isPlus") private Integer isPlus; /** * 是否为plus会员 */ @DbField("if(isPlus,'是','否')") @ExcelProperty("是否为plus会员") private String isPlusStr; @DbField("isCar") private Boolean isCar; /** * 车名称 */ @DbField("cs.car_name") @ExcelProperty("车队名称") private String carName; /** * 官方session */ @DbField("cs.officialSession") @ExcelProperty("官方session") private String officialSession; @DbIgnore @ExcelProperty("过期时间") private Date expiryTime; /** * 双重验证密钥 */ @DbField("cs.api_secret") @ExcelProperty("双重验证密钥") private String apiSecret; /** * 备用安全码 */ @DbField("cs.verify_codes") @ExcelProperty("备用安全码") private String verifyCodes; /** * 分数 */ @DbField("cs.score") private Double score; /** * 备注 */ @DbField("cs.remark") @ExcelProperty("备注") private String remark; @DbField("cs.created_time") private Date createdTime; }