package com.ruoyi.mall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseAudit;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单售后对象 oms_aftersale
 *
 * @author zcc
 */

@Data
@TableName("oms_aftersale")
public class Aftersale extends BaseAudit {
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;


    @Excel(name = "MEMBER_ID")
    private Long memberId;


    @Excel(name = "订单id")
    private Long orderId;


    @Excel(name = "退款金额")
    private BigDecimal returnAmount;


    @Excel(name = "售后类型：1：退款，2：退货退款")
    private Integer type;


    @Excel(name = "申请状态：0->待处理；1->退货中；2->已完成；3->已拒绝")
    private Integer status;


    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime handleTime;


    @Excel(name = "退货数量")
    private Integer quantity;


    @Excel(name = "原因")
    private String reason;


    @Excel(name = "描述")
    private String description;


    @Excel(name = "凭证图片，以逗号隔开")
    private String proofPics;


    @Excel(name = "处理备注")
    private String handleNote;


    @Excel(name = "处理人员")
    private String handleMan;


    @Excel(name = "退款快递公司")
    private String refundWpCode;


    @Excel(name = "退货快递号")
    private String refundWaybillCode;

}
