package cc.iotkit.manager.dto.vo.worder;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//@Schema(description = "管理后台 - 工单新增/修改 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WorderSaveReqVO {

  //  @Schema(description = "工单编号")
    private String worderNum;

   // @Schema(description = "工单内容")
    private String worderContent;

    //@Schema(description = "上报时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

   // @Schema(description = "指派人id")
    private Long assignUserid;

   // @Schema(description = "指派人姓名")
    private String assignName;

   // @Schema(description = "指派时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date assignTime;

   // @Schema(description = "问题截图")
    private String problemScreenshot;

   // @Schema(description = "消息")
    private String message;

   // @Schema(description = "预约时间")
    private String reservationTime;

   // @Schema(description = "客户id")
    private Long customerId;

  //  @Schema(description = "客户姓名")
    private String customerName;

   // @Schema(description = "联系方式")
    private String customerPhone;

   // @Schema(description = "客户服务地址编码")
    private Integer customerAreaId;

   // @Schema(description = "客户服务地址名称")
    private String customerAreaName;

    //@Schema(description = "服务地址(客户详细地址)")
    private String customerAddress;

   // @Schema(description = "退单时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date worderBackTime;

   // @Schema(description = "退单原因")
    private String worderBackReason;

   // @Schema(description = "工单完成时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

   // @Schema(description = "完成后图片")
    private String finishPicture;

  //  @Schema(description = "反馈信息")
    private String feedback;

 //   @Schema(description = "工单id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

   // @Schema(description = "工单类型")
    private Integer worderType;

   // @Schema(description = "设备id")
    private String productId;

  //  @Schema(description = "滤芯名称")
    private String filterName;

  //  @Schema(description = "订单id")
    private String orderId;

    //@Schema(description = "订单状态")
    private Integer orderStatus;

   // @Schema(description = "工单状态")
    private Integer worderStatus;

   // @Schema(description = "问题类型")
    private Integer problemType;
    /**
     * 指派人电话
     */
    private String assignPhone;

}