package com.zt.plat.module.qms.resource.material.controller.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 物料用完标记或清洗回收新增/修改 Request VO")
@Data
public class MaterialUseEndReuseSaveReqVO {

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

    @Schema(description = "业务类型,用完标记，清洗回收", example = "1")
    @NotNull
    private String businessType;

    @Schema(description = "用完标记人或清洗回收人")
    private String operator;

    @Schema(description = "操作人id", example = "6934")
    private Long operatorId;

    @Schema(description = "标记日期或清洗回收日期")
    private LocalDateTime operatorDate;

    @Schema(description = "回收人")
    private String reuseName;

    @Schema(description = "回收人id")
    private Long reuseId;

    @Schema(description = "回收日期")
    private LocalDateTime reuseDate;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "物料ids")
    private List<Long> infomationIds;

    @Schema(description = "明细列表")
    @NotEmpty
    private List<MaterialUseEndReuseDetailSaveReqVO> detailList;

}