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


import cc.iotkit.common.api.BaseDto;
import cc.iotkit.model.FeedBackEvaluation.FeedBackEvaluationDO;
import cc.iotkit.model.worder.WorderDO;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

//@Schema(description = "管理后台 - 工单分页 Request VO")
@ApiModel(value = "WorderPageReqVO")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WorderDO.class, reverseConvertGenerate = false)
@ToString(callSuper = true)
public class WorderPageReqVO  extends BaseDto implements Serializable {
 private static final long serialVersionUID = -1L;
    //@Schema(description = "工单id")
    private String id;
   // @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 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 = "创建时间")
/*    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date[] createTime;*/

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

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

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

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

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

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

   // @Schema(description = "服务ID")
    private String fwId;

   // @Schema(description = "服务IDS")
  //  private List<Long> fwIds;

   // @Schema(description = "类型   (只在经销商端工单列表中作为查询参数 1-全部工单，2-待派单，3-已派单，4-已完成)")
    private Integer type;

   // @Schema(description = "部门id (临时字段)")
    private Long deptId;
 /**
  * 指派人电话
  */
 private String assignPhone;
}