package com.xinelu.manage.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description 退款状态订单信息实体类
 * @Author 纪寒
 * @Date 2022-10-25 15:57:28
 * @Version 1.0
 */
@Data
public class RefundOrderInfoVO implements Serializable {
    private static final long serialVersionUID = -6423339473636254033L;
    /**
     * 点单编号
     */
    private String orderNo;

    /**
     * 商品属性明细id
     */
    private Long goodsAttributeDetailsId;

    /**
     * 商品数量
     */
    private String goodsCount;

    /**
     * 退款单号
     */
    private String refundNo;

    /**
     * 购买来源
     */
    private String buySource;

    /**
     * 商户退款单号
     */
    private String outRefundNo;

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

    /**
     * 预约时间
     */
    private LocalDate serviceDate;

    /**
     * 预约时间点，时间格式：HH:mm
     */
    @DateTimeFormat(pattern = "HH:mm")
    private LocalTime serviceStartTime;

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

    /**
     * 会员用户id
     */
    private Long patientId;

    /**
     * 优惠券id
     */
    private Long couponId;

    /**
     * 订单类型，订单类型，积分兑换：INTEGRAL_EXCHANGE，直接购买：DIRECT_BUY，健康咨询：HEALTH_CONSULTATION
     */
    private String orderType;

    /**
     * 订单类型，院内陪护：COMPANION_IN_HOSPITAL，其它：OTHER
     */
    private String appointmentOrderType;
}
