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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
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 DetailBaseRespVO {

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

    @Schema(description = "明细ID", example = "32603")
    @ExcelProperty("明细ID")
    private Long detailId;

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

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

    @Schema(description = "产品资源ID", example = "31113")
    @ExcelProperty("产品资源ID")
    private Long productResourceId;

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

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

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

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

    @Schema(description = "价格", example = "19500")
    @ExcelProperty("价格")
    private BigDecimal price;

    @Schema(description = "项目ID", example = "4165")
    @ExcelProperty("项目ID")
    private Long projectId;

    @Schema(description = "项目CODE", example = "4165")
    @ExcelProperty("项目CODE")
    private String projectCode;

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

    @Schema(description = "规格ID", example = "8436")
    @ExcelProperty("规格ID")
    private Long specificationId;

    @Schema(description = "规格名称", example = "李四")
    @ExcelProperty("规格名称")
    private String specificationName;

    @Schema(description = "规格类型;common通用 full全价 half半价 free免票", example = "1")
    @ExcelProperty("规格类型")
    private String specType;

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

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

    @Schema(description = "平台供应商下单订单号", example = "SP29819")
    @ExcelProperty("平台供应商下单订单号")
    @TableField(exist = false)
    private String platSupplierOrderNo;

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

    @Schema(description = "基础产品类型;0自建子票 1平台产品", example = "1")
    @ExcelProperty("基础产品类型;0自建子票 1平台产品")
    private Integer productBaseType;

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

    @Schema(description = "是否系统直连;0否1是")
    @ExcelProperty("是否系统直连;0否1是")
    private Integer isSystemDirect;

    @Schema(description = "核验状态", example = "1")
    @ExcelProperty("核验状态")
    private Integer checkStatus;

    @Schema(description = "核验时间")
    @ExcelProperty("核验时间")
    private LocalDateTime verifyTime;

    @Schema(description = "已使用次数", example = "6304")
    @ExcelProperty("已使用次数")
    private Integer usageCount;

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

    @Schema(description = "退款明细基础ID", example = "20376")
    @ExcelProperty("退款明细基础ID")
    private Long refundDetailBaseId;

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

    @Schema(description = "出行方案时间", example = "16:02")
    @ExcelProperty("出行方案时间")
    private String planStartTime;

}