package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 任务归档分页
 * @author DB
 * @param
 * @since 2023-11-30 22:24:49
 * @version 1.0.0
 */
@Data
@Accessors(chain = true)
@Schema(description = "任务归档分页")
public class TaskArchivingPagVo {

    /**
     * 主键
     */
    @Schema(description ="主键")
    private String id;

    /**
     * 主要负责员工id
     */
    @Schema(description ="主要负责员工id")
    private String responsibleStaffId;

    /**
     * 主键主要负责员工
     */
    @Schema(description ="主要负责员工")
    private String responsibleStaffName;

    /**
     * 任务类型(0:迭代;1:需求;2:投诉)
     */
    @Schema(description ="任务类型(0:迭代;1:需求;2:投诉)")
    private Integer taskType;

    /**
     * 任务内容
     */
    @Schema(description ="任务内容")
    private String taskContent;

    /**
     * 任务评级(0:A;1:B;2:C;3:D;4:E)
     */
    @Schema(description ="任务评级(0:A;1:B;2:C;3:D;4:E)")
    private String taskRating;

    /**
     * 任务绩点
     */
    @Schema(description ="任务绩点")
    private Integer taskWeight;

    /**
     * 开始时间
     */
    @Schema(description ="开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime taskReceiptTime;

    /**
     * 转测试时间
     */
    @Schema(description ="转测试时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime toTestTime;

    /**
    * 转部署时间
    */
    @Schema(description ="转部署时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime toDeployTime;

    /**
     * 完成日期
     */
    @Schema(description ="完成日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate completionDate;

    /**
     * 主体
     */
    @Schema(description ="主体")
    private String subject;

    /**
     * 小组成员
     */
    @Schema(description ="小组成员")
    private String taskGroupStaffs;

    /**
     * 操作流程
     */
    @Schema(description ="操作流程")
    private String testToFinishUrl;
}
