package com.ots.project.exam.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ots.framework.aspectj.lang.annotation.Excel;
|
import com.ots.framework.web.domain.BaseEntity;
|
import lombok.Getter;
|
import lombok.Setter;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 评测报告对象 t_exam_report
|
*
|
* @author ots
|
* @date 2019-12-26
|
*/
|
@Getter
|
@Setter
|
public class TExamReport extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 报告编码
|
*/
|
private Long id;
|
|
/**
|
* 产品编码
|
*/
|
@Excel(name = "产品编码")
|
private Long productId;
|
|
/**
|
* 测试包编码
|
*/
|
private Long testId;
|
|
/**
|
* 测试包名称
|
*/
|
private String testName;
|
|
/**
|
* 产品名称
|
*/
|
@Excel(name = "产品名称")
|
private String productName;
|
|
/**
|
* 报告内容json串
|
*/
|
private String content;
|
|
/**
|
* tokenid
|
*/
|
@Excel(name = "tokenid")
|
private String tokenId;
|
|
/**
|
* 1:有效,0:无效
|
*/
|
private String states;
|
|
private String lastContent;
|
|
private String choice;
|
|
private Integer doTime;
|
|
private Integer questionCount;
|
|
private Integer memberId;
|
|
private String memberName;
|
|
private Long userId;
|
|
private String userName;
|
|
private Long parentId;
|
|
private String questionOrder;
|
|
/**
|
* 详细报告下载状态 0:不允许下载,1:允许下载,2:下载审核中
|
*/
|
private Integer downloadTimes;
|
|
// 对应枚举类型的TestMemberStatusEnum
|
private Integer verifyStatus;
|
|
//是否已经完成
|
private Integer finish;
|
|
// 评测报告的字段
|
private String questionReport;
|
|
// 题目类型,走模版,JOB,MAQ,SAQ
|
private String questionTemplateId;
|
|
// 保留调用接口返回的数据
|
private String interfaceContent;
|
|
// 最后一次答题的语言类型
|
private String langType;
|
|
/**
|
* 测试包的状态
|
*/
|
private String status;
|
|
/**
|
* 报告地址
|
*/
|
private String reportAddress;
|
|
/**
|
* 报告类型
|
*/
|
private String reportTemplateId;
|
|
/**
|
* 发送hr的状态
|
*/
|
private Integer sendHrStatus;
|
|
/**
|
* 发送测试者的状态
|
*/
|
private Integer sendTesterStatus;
|
|
/**
|
* 测试人员的邮箱
|
*/
|
private String memberEmail;
|
|
/**
|
* Hr的邮箱
|
*/
|
private String testEmail;
|
|
private Integer autoSendReport;
|
|
private String hrEmail;
|
|
private String mailContent;
|
|
private String remark;
|
|
private String optionOrder;
|
|
private String remainPartTime;
|
|
private String ids;
|
|
private String reportAddressNew;
|
|
private String memberDept;
|
|
private String hrReportEmail;
|
|
private String hrTitle;
|
|
private List sendHrStatusList;
|
|
/**
|
* 用户列表
|
*/
|
private List<Long> userIds;
|
|
/**
|
* hr发送时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date hrSendTime;
|
|
/**
|
* Hr更新时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date hrUpdateTime;
|
|
private Integer retriesTime;
|
|
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("productId", getProductId())
|
.append("productName", getProductName())
|
.append("content", getContent())
|
.append("tokenId", getTokenId())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("states", getStates())
|
.toString();
|
}
|
}
|