package com.xinelu.manage.vo;

import com.xinelu.manage.domain.appointmentorder.AppointmentOrder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @Description 预约订单主表和明细表返回值实体类
 * @Author 纪寒
 * @Date 2023-02-17 09:40:57
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AppointOrderAndDetailsInfo extends AppointmentOrder implements Serializable {
    private static final long serialVersionUID = 395795137975879155L;
    /**
     * 预约日期
     */
    private LocalDate serviceDate;
    /**
     * 预约服务时间
     */
    @DateTimeFormat(pattern = "HH:mm")
    private LocalTime serviceStartTime;
    /**
     * 护理项目id
     */
    private Long nurseStationItemId;

    /**
     * 预约项目人数上限
     */
    private Integer appointmentLimitCount;
}
