package com.xinelu.manage.vo.scheduleplan;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.manage.vo.scheduleplandetail.SchedulePlanDetailVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 医生排班计划视图类
 * @author: haown
 * @create: 2023-10-17 09:15
 **/
@ApiModel("医生排班计划视图类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SchedulePlanVO {

	@ApiModelProperty("排班日期")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	private LocalDate scheduleDate;

	@ApiModelProperty("周几")
	private String week;

	@ApiModelProperty("上午排班计划")
	public List<SchedulePlanDetailVO> morningList;

	@ApiModelProperty("下午排班计划")
	public List<SchedulePlanDetailVO> afternoonList;
}
