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


import cn.cslg.report.common.model.BaseVO;
import cn.cslg.report.entity.Report;
import cn.cslg.report.entity.Task;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * @author lrj
 * @date 2022-11-9
 * @description 任务VO类
 */
@Data
@Accessors(chain = true)
@Schema(description="分配任务VO",required = true)
public class AssignTaskVO extends BaseVO {

    @Schema(description = "任务名")
    private String taskName;

    @Schema(description = "报告Id")
    private Integer reportId;
    @Schema(description = "人员专利号对象")
    List<assignPatents> assigns ;
    @Schema(description = "任务结束时间")
    private Date endTime;
    @Schema(description = "备注")
    private String remark;
    @Data
    public static class assignPatents{
        @Schema(description = "人员Id")
            private Integer personId;

        @Schema(description = "专利号列表")
        private List<String> patentNos;

        @Schema(description = "分配数量")
        private Integer assignCount;


    }
}
