package com.xinelu.manage.vo.nursestationpersonrevenue;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.manage.domain.nursestationpersonrevenue.NurseStationPersonRevenue;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 收益明细
 *
 * @author zhangheng
 * @date 2023-03—30
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class NurseStationPersonRevenueVO extends NurseStationPersonRevenue implements Serializable {
    private static final long serialVersionUID = -2454392424237460279L;

    /**
     * 护理站人员id
     */
    private Long nurseStationPersonRevenueId;

    /**
     * 护理项目名称
     */
    private String nurseItemName;

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

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

    /**
     * 服务结束时间，格式：HH:mm
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime serviceEndTime;

    /**
     * 预约订单完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishOrderTime;

    /**
     * 预约订单主表id
     */
    private Long appointmentOrderId;

    /**
     * 预约订单编号
     */
    private String orderNo;
}
