package com.fs.his.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FsPackageOrderListVO {
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;
    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packageName;
    @Excel(name = "公司名称")
    private String companyName;
    @Excel(name = "员工")
    private String companyUserName;
    @Excel(name = "应收金额")
    private BigDecimal payPrice;
    @Excel(name = "实收金额")
    private BigDecimal payMoney;
    /** 是否支付 */
    @Excel(name = "是否支付")
    private Integer isPay;

    /** 天数 */
    @Excel(name = "天数")
    private Long days;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;
    @Excel(name = "就诊人")
    private String patientName;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "问诊订单ID")
    private Long inquiryOrderId;
    @Excel(name = "商品订单ID")
    private Long storeOrderId;
    @Excel(name = "套餐包数据")
    private String packageJson;
    @Excel(name = "患者数据")
    private String patientJson;

    @Excel(name = "不退款的理由")
    private String refundReason;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退款时间")
    private Date refundTime;

    @Excel(name = "退款金额")
    private BigDecimal refundMoney;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间")
    private Date payTime;
    @Excel(name = "退款状态")
    private Integer refundStatus;
    @Excel(name = "套餐价格")
    private String totalPrice;
    @Excel(name = "付款类型")
    private String payType;
    @Excel(name = "备注")
    private String remark;
    @Excel(name = "物流状态")
    private Integer deliveryStatus;
    @Excel(name = "物流状态")
    private Integer deliveryPayStatus;
    //小程序名称
    @Excel(name = "小程序名称")
    private String miniProgramName;
    private Integer packageSubType;
    private BigDecimal inquiryPrice;
    private BigDecimal productPrice;
    private Integer inquiryRefundStatus;
    private Integer storeRefundStatus;
    private String packageSecondName;
    private String source;
}
