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

import com.fasterxml.jackson.annotation.JsonFormat;

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

import javax.validation.constraints.NotNull;
import java.util.Date;

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

    //@Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    //@NotNull(message = "订单编号不能为空")
    private Long id;

   // @Schema(description = "预约时间" )
    //@NotNull(message = "预约时间不能为空")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date[] deliveryTime;

   // @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;


}