package com.ruoyi.mall.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 退款单对象 mall_order_back
 *
 * @author chang
 * @date 2021-11-25
 */
@Data
public class MallOrderBackDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 订单iD
     */
    private Long orderId;

    private String orderNo;

    private Long userId;

    /**
     * 申请退款前的订单状态
     */
    private String orginalStatus;

    /**
     * 退款原因
     */
    @Excel(name = "退款原因")
    private String reason;

    /**
     * 状态: 0=审核中,1=退款中,2=退款成功,3=取消退款,4=拒绝退款
     */
    @Excel(name = "状态: 0=审核中,1=退款中,2=退款成功,3=取消退款,4=拒绝退款")
    private String status;

    /**
     * 拒绝原因
     */
    @Excel(name = "拒绝原因")
    private String refuse;

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

    /**
     * 退款金额
     */
    @Excel(name = "退款金额")
    private BigDecimal price;

    /**
     * 申请退款时间
     */
    @Excel(name = "申请退款时间")
    private String createAt;

    /**
     * 修改时间
     */
    private String updateAt;

    /**
     * 删除标记
     */
    private String delFlag;

    /**
     * 会员名称
     */
    private String memberUserName;

    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 退款商品信息
     */
    private List<MallOrderbackGoods> MallOrderbackGoodsList;

    /**
     * 店铺id
     */
    private BigDecimal sumtotal;
    /**
     * 店铺id
     */
    private String backorderNo;
}
