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

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

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

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

    @Schema(description = "供应商ID", example = "10186")
    @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 = "22954")
    @ExcelProperty("供应商产品编码")
    private String supplierProductId;

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

    @Schema(description = "平台订单金额")
    @ExcelProperty("供应商订单金额")
    private BigDecimal payAmount;

    @Schema(description = "订单状态", example = "1")
    @ExcelProperty("订单状态")
    private Integer orderStatus;

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

    @Schema(description = "交易编号")
    @ExcelProperty("交易编号")
    private String tradeNo;

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

    @Schema(description = "使用日期")
    @ExcelProperty("使用日期")
    private LocalDateTime useDate;

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

    @Schema(description = "一票多人数量")
    @ExcelProperty("一票多人数量")
    private Integer quantityOfOne;

    @Schema(description = "是否实名", example = "赵六")
    @ExcelProperty("是否实名")
    private Integer useRealName;

}