package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
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)
@ApiModel(value = "任务待评估与待领取分页")
public class TaskToBeClaimedPageVo {

    /**任务id */
    @ApiModelProperty(value = "任务id")
    private String id;

    /**主体 */
    @ApiModelProperty(value = "主体")
    private String subject;

    /**任务内容 */
    @ApiModelProperty(value = "任务内容")
    private String taskContent;

    /**附件地址 */
    @ApiModelProperty(value = "附件地址")
    private String attachmentUrl;

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

    /**
     * 任务权重
     */
    @ApiModelProperty(value = "任务权重(任务绩点)")
    private Integer taskWeight;

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

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

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

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