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;

@Data
@Accessors(chain = true)
@Schema(description = "个人工单返回对象对象")
public class TaskWorkOrderPersonVo {

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

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

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

    /**
     * 问题描述
     */
    @Schema(description = "问题描述")
    private String taskContent;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String phoneNumber;

    /**
     * 提交人ID
     */
    @Schema(description = "提交人ID")
    private String recordStaffId;

    /**
     * 提交人
     */
    @Schema(description = "提交人")
    private String recordStaffName;

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

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

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