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.LocalDateTime;

/**
 * 任务待评估与待领取分页
 * @author DB
 * @since 2023-11-30 22:44:03
 * @version 1.0.0
 */
@Data
@Accessors(chain = true)
@Schema(description = "任务待评估与待领取分页")
public class TaskToBeClaimedPageVo {

    /**任务id */
    @Schema(description = "任务id")
    private String id;

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

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

    /**附件地址 */
    @Schema(description = "附件地址")
    private String attachmentUrl;

    /**任务评级(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;

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

    /**
     * 记录员工id
     */
    @Schema(description = "记录员工id")
    private String recordStaffId;

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

    /**对接员工 */
    @Schema(description = "对接员工")
    private String dockingStaff;
}
