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;
|
|
/**
|
* 评测邀请发送任务对象 ent_test_sendtask
|
*
|
* @author ots
|
* @date 2019-12-19
|
*/
|
@Getter
|
@Setter
|
public class EntTestSendtask extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 编码
|
*/
|
private Long id;
|
|
/**
|
* 用户ID
|
*/
|
private Long userId;
|
|
/**
|
* 测试包编码
|
*/
|
private Long testId;
|
|
/**
|
* 评测人员编码
|
*/
|
private Long memberId;
|
|
/**
|
* 发件人
|
*/
|
private String fromAddressee;
|
|
/**
|
* 收件人
|
*/
|
@Excel(name = "收件人")
|
private String addressee;
|
|
/**
|
* 发送类型
|
*/
|
@Excel(name = "发送类型")
|
private String type;
|
|
/**
|
* 发送平台
|
*/
|
@Excel(name = "发送平台")
|
private String platform;
|
|
/**
|
* 标题
|
*/
|
@Excel(name = "标题")
|
private String title;
|
|
/**
|
* 内容
|
*/
|
@Excel(name = "内容")
|
private String content;
|
|
/**
|
* 短信条数
|
*/
|
@Excel(name = "短信条数")
|
private Long number;
|
|
/**
|
* 状态
|
*/
|
@Excel(name = "状态")
|
private String status;
|
|
/**
|
* 过程信息
|
*/
|
@Excel(name = "过程信息")
|
private String message;
|
|
/**
|
* 短信平台任务编码
|
*/
|
private String taskId;
|
|
/**
|
* 邮件平台任务编码
|
*/
|
private String rushtaskid;
|
|
/**
|
* 发送时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date sendTime;
|
|
/**
|
* 延长的发送时间
|
*/
|
private String sendExtendTime;
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userId", getUserId())
|
.append("testId", getTestId())
|
.append("addressee", getAddressee())
|
.append("type", getType())
|
.append("platform", getPlatform())
|
.append("title", getTitle())
|
.append("content", getContent())
|
.append("number", getNumber())
|
.append("status", getStatus())
|
.append("fromAddressee", getFromAddressee())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.toString();
|
}
|
}
|