package com.hzs.sale.refund.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

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

/**
 * @Description: 退款查询VO
 * @Author: jiang chao
 * @Time: 2023/8/28 9:48
 * @Classname: RefundQueryVO
 * @PackageName: com.hzs.sale.order.vo
 */
@Data
public class RefundQueryVO {

    /**
     * 会员编号
     */
    @Excel(name = "会员编号")
    private String memberCode;

    /**
     * 会员姓名
     */
    @Excel(name = "会员姓名")
    private String memberName;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 订单类型显示
     */
    @Excel(name = "订单类型")
    @Transaction(transactionKey = EnumsPrefixConstants.ORDER_TYPE)
    private String orderTypeVal;

    /**
     * 退款状态
     */
    private Integer refundStatus;
    /**
     * 退款状态显示
     */
    @Excel(name = "退款状态")
    @Transaction(transactionKey = EnumsPrefixConstants.REFUND_STATUS)
    private String refundStatusVal;

    /**
     * 退款编号
     */
    @Excel(name = "退款编号")
    private String refundCode;
    /**
     * 退款金额
     */
    @Excel(name = "退款金额")
    private BigDecimal refundAmount;
    /**
     * 退款业绩
     */
    @Excel(name = "退款业绩")
    private BigDecimal refundAchieve;
    /**
     * 退款考核业绩
     */
    private BigDecimal refundAssAchieve;
    /**
     * 退款邮费
     */
    @Excel(name = "退款邮费")
    private BigDecimal postage;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String productCode;
    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;
    /**
     * 产品规格
     */
    @Excel(name = "产品规格")
    private String specsName;
    /**
     * 产品价格
     */
    @Excel(name = "产品价格")
    private BigDecimal price;
    /**
     * 产品业绩
     */
    @Excel(name = "产品业绩")
    private BigDecimal achievement;
    /**
     * 产品考核业绩
     */
    private BigDecimal ass_achievement;
    /**
     * 产品数量
     */
    @Excel(name = "产品数量")
    private Integer quantity;

    /**
     * 创建日期
     */
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

}
