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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

import java.time.LocalDateTime;

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

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

    @Schema(description = "父ID", example = "828")
    private Long parentId;

    @Schema(description = "子样数据ID", example = "828")
    private Long businessSubSampleId;

    @Schema(description = "领用人")
    private String borrowUser;

    @Schema(description = "领用人id", example = "22151")
    private Long borrowUserId;

    @Schema(description = "领用时间")
    private LocalDateTime borrowTime;

    @Schema(description = "领用状态,0-未领用；1-已领用", example = "1")
    private String borrowStatus;

    @Schema(description = "归还人")
    private String givebackUser;

    @Schema(description = "归还人id", example = "23976")
    private Long givebackUserId;

    @Schema(description = "归还时间")
    private LocalDateTime givebackTime;

    @Schema(description = "归还状态,0-未归还；1-已归还", example = "2")
    private String givebackStatus;

    @Schema(description = "使用状态", example = "2")
    private String useStatus;

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

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

}