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


import cn.cslg.report.common.model.BaseVO;
import cn.cslg.report.entity.Personnel;
import cn.cslg.report.entity.Report;
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 TaskSourceVO extends BaseVO {
    @Schema(description = "任务类型")
    private String taskType;

    @Schema(description = "人员列表")
    private List<personDate> personDates ;
    @Schema(description = "未分配数量")
    private Integer notAssignNum;

    @Data
    public static class personDate{
        @Schema(description = "人员Id")
        private Integer personId;
        @Schema(description = "任务ID")
        private List<Integer> taskIds;
        @Schema(description = "人员名称")
        private String personName;
        @Schema(description = "已完成数量")
        private Integer doneNum;
        @Schema(description = "已完成数量")
        private Integer notDoneNum;
        @Schema(description = "已完成")
        private List<String> done;
        @Schema(description = "未完成")
        private List<String> notDone;
    }

}
