package com.xinelu.manage.vo.appointmentorder;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.manage.domain.appointmentorder.AppointmentOrder;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * @author ljh
 * @version 1.0
 * Create by 2023/4/4 14:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AppointmentOrderInfoVO extends AppointmentOrder implements Serializable {
    private static final long serialVersionUID = 4664292661917246241L;
    /**
     * 护理项目名称
     */
    private String nurseItemName;

    /**
     * 服务地址
     */
    private String serviceAddress;

    /**
     * 护理项目服务时长和单位
     */
    private String itemServeDurationUnit;

    /**
     * 服务日期，格式：yyyy-MM-dd
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate serviceDate;

    /**
     * 服务开始时间，格式：HH:mm
     */
    @JsonFormat(pattern = "HH:mm")
    private LocalTime serviceStartTime;

    /**
     * 护理站人员名称
     **/
    private String nursePersonName;

    /**
     * 微信openid
     **/
    private String openid;

    /**
     * 护理站id
     **/
    private Long nurseStationId;

    /**
     * 护理项目id
     **/
    private Long nurseStationItemId;
}
