package com.zt.plat.module.qms.business.bus.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 样品交接明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessSampleHandoverDetailRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10448")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "交接单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12067")
    @ExcelProperty("交接单ID")
    private Long businessSampleHandoverId;

    @Schema(description = "分样子样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17670")
    @ExcelProperty("分样子样ID")
    private Long businessSubSampleId;

    @Schema(description = "样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("样品名称")
    private String sampleName;

    @Schema(description = "样品编号")
    @ExcelProperty("样品编号")
    private String sampleCode;

    @Schema(description = "样品重量")
    @ExcelProperty("样品重量")
    private BigDecimal sampleWeight;

    @Schema(description = "天平编号")
    @ExcelProperty("天平编号")
    private String balanceCode;

    @Schema(description = "样品类型ID,字典表：【T_DIC_BSN】", requiredMode = Schema.RequiredMode.REQUIRED, example = "15453")
    @ExcelProperty("样品类型ID,字典表：【T_DIC_BSN】")
    private Long dictionaryBusinessId;

    @Schema(description = "样品类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("样品类型")
    private String dictionaryBusinessName;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;


    //==================================扩展字段==================================
    @Schema(description = "原样品编号")
    @ExcelProperty("原样品编号")
    private String originalSampleCode;

    @Schema(description = "库位编码")
    @ExcelProperty("归库时间")
    private String warehouseLocationCode;

    @Schema(description = "归库时间")
    @ExcelProperty("归库时间")
    private LocalDateTime returnTime;


}