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;

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

    /**
    * 工单id
    */
    @ApiModelProperty(value = "工单id")
    private String id;

    /**
     * 机构/品牌
     */
    @ApiModelProperty(value = "机构/品牌")
    private String brandName;

    /**
     * 校区/店铺
     */
    @ApiModelProperty(value = "校区/店铺")
    private String storeName;

    /**
     * 问题描述
     */
    @ApiModelProperty(value = "问题描述")
    private String taskContent;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    /**
     * 提交人ID
     */
    @ApiModelProperty(value = "提交人ID")
    private String recordStaffId;

    /**
     * 提交人
     */
    @ApiModelProperty(value = "提交人")
    private String recordStaffName;

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

    /**
     * 接收用时
     */
    @ApiModelProperty(value = "接收用时")
    private Integer receivingTime;

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