package com.zt.plat.module.qms.office.supplier.controller.vo;

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

@Schema(description = "管理后台 - 供应商评价关系新增/修改 Request VO")
@Data
public class SupplierEvaluationAtSaveReqVO {

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

    @Schema(description = "评价id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6160")
    @NotNull(message = "评价id不能为空")
    private Long supplierEvaluationId;

    @Schema(description = "目标对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24374")
    @NotNull(message = "目标对象id不能为空")
    private Long targetId;

    @Schema(description = "目标对象类型,业务类型：设备实例、物料试剂、检定校准记录等", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "目标对象类型,业务类型：设备实例、物料试剂、检定校准记录等不能为空")
    private String targetType;

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

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

}