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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 样品交接明细新增/修改 Request VO")
@Data
public class BusinessSampleHandoverDetailSaveReqVO {

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

    @Schema(description = "交接单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12067")
    @NotNull(message = "交接单ID不能为空")
    private Long businessSampleHandoverId;

    @Schema(description = "分样子样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17670")
    @NotNull(message = "分样子样ID不能为空")
    private Long businessSubSampleId;

    @Schema(description = "样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "样品名称不能为空")
    private String sampleName;

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

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

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

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

    @Schema(description = "样品类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "样品类型不能为空")
    private String dictionaryBusinessName;

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

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

}