package com.fs.course.param;

import com.baidu.dev2.thirdparty.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;


@Data
@ApiModel(description = "红杉问诊申请参数-挂号医生信息")
@Accessors(chain = true)
public class HsBookDoctorInfoParam {

    @ApiModelProperty(value = "医生id: 医生排班接口的医生id")
    @JsonProperty("doctor_id")
    private Integer doctorId;

    @ApiModelProperty(value = "挂号日期: 医生排班接口的排班日期（例如：2025-04-23）")
    @JsonProperty("visit_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String visitDate;

    @ApiModelProperty(value = "预约时间段: 医生排班接口的排班时间段（例如：18:00-18:30）")
    @JsonProperty("visit_range")
    @DateTimeFormat(pattern = "HH:mm-HH:mm")
    private String visitRange;

    @ApiModelProperty(value = "预约科室: 医生排班接口的医生科室id")
    @JsonProperty("branch")
    private Integer branch;
}
