package com.zjty.autotest.pojo.sjq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(description = "自动化评测报告管理类")
public class AutoResultSet {
    @Id
    @ApiModelProperty(value = "系统id")
    private String id;
    @ApiModelProperty(value = "系统名称")
    private String projectName;
    @ApiModelProperty(value = "用户名")
    private String user;
    @ApiModelProperty(value = "报告状态 0:正在生成 1:可以查看",example = "0")
    private Integer status;
    @ApiModelProperty(value = "记录创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "记录修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
