package com.yc.ship.module.trade.controller.admin.order.vo.refund;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 退款明细基础 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RefundDetailBaseRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8539")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "退票明细ID", example = "3226")
    @ExcelProperty("退票明细ID")
    private Long refundDetailId;

    @Schema(description = "订单明细ID", example = "13529")
    @ExcelProperty("订单明细ID")
    private Long tradeDetailId;

    @Schema(description = "订单明细基础ID", example = "4462")
    @ExcelProperty("订单明细基础ID")
    private Long tradeDetailBaseId;

    @Schema(description = "退款金额")
    @ExcelProperty("退款金额")
    private BigDecimal refundAmount;

    @Schema(description = "退款前使用状态", example = "1")
    @ExcelProperty("退款前使用状态")
    private Integer useStatus;

    @Schema(description = "退票状态：0待退票，1审核中，2审核拒绝，3审核通过，4已退票，5已退款，6退款失败，99已取消", example = "1")
    @ExcelProperty("退票状态：0待退票，1审核中，2审核拒绝，3审核通过，4已退票，5已退款，6退款失败，99已取消")
    private Integer refundStatus;

    @Schema(description = "供应商退款ID", example = "2640")
    @ExcelProperty("供应商退款ID")
    private Long supplierRefundId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "订单明细基础ID")
    @ExcelProperty("订单明细基础ID")
    private Long tradeBaseId;


    @Schema(description = "平台供应商退款ID")
    @ExcelProperty("平台供应商退款ID")
    private Long platSupplierRefundId;

    @Schema(description = "平台供应商订单ID")
    @ExcelProperty("平台供应商订单ID")
    private Long platSupplierOrderId;


    @Schema(description = "供应商券码")
    @ExcelProperty("供应商券码")
    private String supplierVoucherCode;


    @Schema(description = "基础产品Id")
    @ExcelProperty("基础产品Id")
    private long productBaseId;


    @Schema(description = "基础产品名称")
    @ExcelProperty("基础产品名称")
    private String productBaseName;


    @Schema(description = "产品资源ID")
    @ExcelProperty("产品资源ID")
    private long productResourceId;

    @Schema(description = "资源名称")
    @ExcelProperty("资源名称")
    private String productResourceName;

    @Schema(description = "供应商产品编码")
    @ExcelProperty("供应商产品编码")
    private String supplierProductId;

    @Schema(description = "项目名称")
    @ExcelProperty("项目名称")
    private String projectName;

    @Schema(description = "资源价格")
    @ExcelProperty("资源价格")
    private BigDecimal productResourcePrice;

    @Schema(description = "供应商ID")
    @ExcelProperty("供应商ID")
    private long supplierId;

    @Schema(description = "供应商名称")
    @ExcelProperty("供应商名称")
    private String supplierName;

    @Schema(description = "订单明细基础金额")
    @ExcelProperty("订单明细基础金额")
    private BigDecimal tradeBasePrice;
}