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
 * @version 1.0.0
 * @since 2024-01-31 12:39
 */
@Data
@Accessors(chain = true)
@Schema(description = "工单统计")
public class TaskWorkOrderStatPageVo {

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

    /**
     * 品牌
     */
    @Schema(description = "品牌")
    private String brandName;

    /**
     * 校区店铺
     */
    @Schema(description = "校区店铺")
    private String storeName;

    /**
     * 接收用时
     */
    @Schema(description = "接收用时")
    private Integer receivingTime;

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

    /**
     * 暂停员工id
     */
    @Schema(description ="暂停员工id")
    private String pauseStaffId;

    /**
     * 暂停员工
     */
    @Schema(description ="暂停员工")
    private String pauseStaffName;

    /**
     * 暂停记录时间
     */
    @Schema(description ="暂停记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime pauseRecordTime;

    /**
     * 暂停到期时间
     */
    @Schema(description ="暂停到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime pauseExpireTime;

    /**
     * 办结员工id
     */
    @Schema(description ="办结员工id")
    private String finishStaffId;

    /**
     * 办结员工
     */
    @Schema(description ="办结员工")
    private String finishStaffName;

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

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

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

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

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

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

    /**
     * 绩点
     */
    @Schema(description ="绩点")
    private Integer gradePoint;

    /**
     * 备注
     */
    @Schema(description ="备注")
    private String remark;

    /**
     * 任务状态
     */
    @Schema(description ="任务状态")
    private Integer taskStatus;
}
