package cn.cslg.report.common.model.vo;


import cn.cslg.report.common.model.BaseVO;
import cn.cslg.report.entity.asso.Synery_CC;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author lrj
 * @date 2022-12-23
 * @description 查找FTO对比记录VO类
 */
@Data
@Accessors(chain = true)
@Schema(description="查找FTO对比记录VO",required = true)
public class SyneryVO extends BaseVO {

    /**
     * 任务名称
     */
    @Schema(description = "任务名称",required = true)
    private String taskName;

    /**
     * 完成进度
     */
    @Schema(description = "完成进度")
    private Double progress;

    /**
     * 完成状态
     */
    @Schema(description = "完成状态")
    private Integer taskStatus;


    /**
     * 任务开始时间
     */
    @Schema(description = "任务开始时间")
    private Date beginTime;


    /**
     * 结束时间
     */
    @Schema(description = "任务截止时间",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 任务类型
     */
    @Schema(description = "任务类型",required = true)
    private Integer type;

    /**
     * 报告ID
     */
    @Schema(description = "报告ID",required = true)
    private Integer reportId;

    /**
     * 处理人ID
     */
    @Schema(description = "处理人ID",required = true)
    @TableField(value = "HANDLE_PERSON_ID")
    private Integer handlePersonId;

    @Schema(description = "对比结果")
    private Integer compareResult;
    @Schema(description = "专利号")
    private List<String> patentNos;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    private String personEmail;

    private List<Synery_CC> syneryCCList;

    @Schema(description = "筛选条件")
    private PatentVO patentVO;

    @Schema (description = "是否是全部专利 0，否 1，是")
    private Integer isAll;
}
