package com.yc.ship.module.trade.controller.admin.supplier.vo;

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 SupplierRefundRespVO {

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

    @Schema(description = "订单ID", example = "3852")
    @ExcelProperty("订单ID")
    private Long orderId;

    @Schema(description = "平台订单号")
    @ExcelProperty("平台订单号")
    private String orderNo;

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

    @Schema(description = "退款批次ID", example = "22226")
    @ExcelProperty("退款批次ID")
    private Long refundId;

    @Schema(description = "供应商ID", example = "23463")
    @ExcelProperty("供应商ID")
    private Long supplierId;

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

    @Schema(description = "供应商类型;0平台 1其他", example = "1")
    @ExcelProperty("供应商类型;0平台 1其他")
    private Integer supplierType;

    @Schema(description = "供应商订单号")
    @ExcelProperty("供应商订单号")
    private String supplierOrderNo;

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

    @Schema(description = "基础产品ID", example = "13552")
    @ExcelProperty("基础产品ID")
    private Long productBaseId;

    @Schema(description = "订单金额")
    @ExcelProperty("订单金额")
    private BigDecimal refundAmount;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private Integer quantity;

    @Schema(description = "退款状态", example = "1")
    @ExcelProperty("退款状态")
    private Integer refundStatus;

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

    @Schema(description = "供应商退款编号")
    @ExcelProperty("供应商退款编号")
    private String supplierRefundNo;

    @Schema(description = "退款时间")
    @ExcelProperty("退款时间")
    private LocalDateTime refundTime;

    @Schema(description = "错误信息")
    private String errorMsg;
}