package org.jeecg.modules.system.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.jeecg.modules.system.app.entity.AppOrderRefundsInfo;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description="退款订单列表响应对象")
public class RefundOrderProInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private String id;

    @Schema(description = "商品图片")
    private String productImage;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "券号")
    private String ticketNo;

    @Schema(description = "原价/元")
    private BigDecimal originalPrice;

    @Schema(description = "实际价格/元")
    private BigDecimal price;

    @Schema(description = "0-待付款 1-待使用 2-已使用 3-已到期 4-已取消 5-退款中 6已退款")
    private Integer orderStatus;

    @Schema(description = "售后状态:0-暂无售后 1-待退款 2-已退款 3-失败/异常")
    private Integer afterSaleStatus;

    @Schema(description = "订单退款记录信息")
    private AppOrderRefundsInfo appOrderRefundsInfo;
}
