package com.zt.plat.module.base.controller.admin.base.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 MaterialDestroyRespVO {

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

    @Schema(description = "原料物料编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("原料物料编码")
    private String upNumber;

    @Schema(description = "返产品物料编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("返产品物料编码")
    private String downNumber;

    @Schema(description = "原料物料名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("原料物料名称")
    private String upName;

    @Schema(description = "返产品物料名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("返产品物料名称")
    private String downName;

    @Schema(description = "回收率", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("回收率")
    private BigDecimal ratio;

    @Schema(description = "是否使用该物料核销")
    @ExcelProperty("是否使用该物料核销")
    private String operation;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "供应商编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("供应商编码")
    private String supplierNumber;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("供应商名称")
    private String supplierName;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private String isEnable;
    @Schema(description = "收货单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("收货单位")
    private String receiveUnit;
    @Schema(description = "发货单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("发货单位")
    private String sendUnit;

}