package com.ots.project.exam.domain;
|
|
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;
|
|
/**
|
* 测试包管理对象 ent_test_package
|
*
|
* @author ots
|
* @date 2019-11-27
|
*/
|
@Getter
|
@Setter
|
public class EntTestPackage extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 测试包编码
|
*/
|
private Long id;
|
|
/**
|
* 企业用户ID
|
*/
|
@Excel(name = "企业用户ID")
|
private Long userId;
|
|
/**
|
*
|
*/
|
@Excel(name = "企业名称")
|
private String userName;
|
|
/**
|
* 产品编码
|
*/
|
@Excel(name = "产品编码")
|
private Long prodId;
|
|
/**
|
* 测试包名称
|
*/
|
@Excel(name = "测试包名称")
|
private String testName;
|
|
/**
|
* 产品包名称
|
*/
|
@Excel(name = "产品包名称")
|
private String prodName;
|
|
/**
|
* 测试包类型
|
*/
|
@Excel(name = "测试包类型")
|
private String testType;
|
|
/**
|
* 区域
|
*/
|
@Excel(name = "区域")
|
private String testArea;
|
|
/**
|
* 语种
|
*/
|
@Excel(name = "语种")
|
private String langType;
|
|
/**
|
* 邀请内容
|
*/
|
@Excel(name = "邀请内容")
|
private String template;
|
|
/**
|
* 通知邮箱,邮箱通过逗号分隔
|
*/
|
@Excel(name = "通知邮箱,邮箱通过逗号分隔")
|
private String testEmail;
|
|
/**
|
* 任务框架 内容为JSON
|
*/
|
@Excel(name = "任务框架 内容为JSON")
|
private Long frameTextContentId;
|
|
/**
|
* 有效期
|
*/
|
@Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date invalidTime;
|
|
/**
|
* 状态(启用、暂停、继续、结束)
|
*/
|
@Excel(name = "状态", readConverterExp = "启=用、暂停、继续、结束")
|
private String status;
|
|
/**
|
* 测试人数
|
*/
|
private Long testNum;
|
|
/**
|
* 已测人数
|
*/
|
private Long finishNum;
|
|
/**
|
* 测试中人数
|
*/
|
private Long testingNum;
|
|
/**
|
* 未测人数
|
*/
|
private Long unTestNum;
|
|
/**
|
* 人口学编码组合
|
*/
|
private String paramCodes;
|
|
/**
|
* 用户列表
|
*/
|
private List<Long> userIds;
|
|
/**
|
* 是否自动给测试者发送测试报告
|
*/
|
private boolean autoSendReport;
|
|
/**
|
* 报告模板编码
|
*/
|
private String reportTemplateId;
|
|
/**
|
* 报告模板展示内容 (reportType-templateType-langType)
|
*/
|
private String reportTemplateShowValue;
|
|
/**
|
* 发送给HR邮件模板内容
|
*/
|
private String hrTemplate;
|
|
/**
|
* 岗位
|
*/
|
private String position;
|
|
/**
|
* 职业大类
|
*/
|
private String professionalCategory;
|
|
/**
|
* 上级岗位
|
*
|
*/
|
private String superiorPosition;
|
|
private String phonenumber;
|
|
|
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userId", getUserId())
|
.append("testName", getTestName())
|
.append("testType", getTestType())
|
.append("testArea", getTestArea())
|
.append("langType", getLangType())
|
.append("testEmail", getTestEmail())
|
.append("frameTextContentId", getFrameTextContentId())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("invalidTime", getInvalidTime())
|
.append("status", getStatus())
|
.append("remark", getRemark())
|
.toString();
|
}
|
}
|