package com.fs.his.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;

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

@Data
public class FsStoreOrderListVO {
    /** 订单ID */
    private Long orderId;
    //处方单号
    private String prescribeCode;
    /** 订单号 */
    @Excel(name = "药品订单号")
    private String orderCode;
    @Excel(name = "所属公司")
    private String companyName;
    @Excel(name = "员工")
    private String companyUserName;
    @Excel(name = "就诊人")
    private String patientName;
    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal payPrice;
    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payMoney;
    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    /** 支付方式 1微信 */
    @Excel(name = "支付方式 1微信")
    private String payType;
    /** 订单状态（-1 : 申请退款 -2 : 退货成功 1：待支付 2：待发货；3：待收货；4：待评价；5：已完成） */
    @Excel(name = "订单状态", readConverterExp = "-=1,:=,申=请退款,-=2,:=,退=货成功,1=：待支付,2=：待发货；3：待收货；4：待评价；5：已完成")
    private Integer status;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    private Integer deliveryStatus;
    private Integer deliveryPayStatus;

    private String storeName;

    private String packageName;

    private String orderPackageName;

    private String packageSecondName;
    //小程序名称
    private String miniProgramName;
    //收货人
    private String userName;

    private Integer isFirst;

    private String source;

    //erp推送号码
    private String erpPhone;

    //erp推送账号
    private String erpAccount;
}
