package com.yd.csf.feign.request.appointment;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class ApiAppointmentEditConfirmTimeRequest {

    /**
     * 预约信息主表唯一业务ID
     */
    @NotBlank(message = "预约信息主表唯一业务ID不能为空")
    private String appointmentBizId;

    /**
     * 确定预约时间
     */
    @NotNull(message = "确定预约时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmAppointmentTime;
}
