package com.cf.imes.module.system.controller.admin.machine.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * @author Beal
 */
@Data
public class MachineOrgAuthReq {

    @Schema(description = "组织id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "组织id不能为空")
    private Long organId;


    @Schema(description = "开料机授权数量")
    @NotNull(message = "开料机授权数量不能为空")
    private Integer cutLimit;


    @Schema(description = "钻孔机授权数量")
    @NotNull(message = "钻孔机授权数量不能为空")
    private Integer drillLimit;


    @Schema(description = "贴标机授权数量")
    @NotNull(message = "贴标机授权数量不能为空")
    private Integer labelLimit;


    @Schema(description = "裁板锯授权数量")
    @NotNull(message = "裁板锯授权数量不能为空")
    private Integer sawLimit;


    @Schema(description = "封边机授权数量")
    @NotNull(message = "封边机授权数量不能为空")
    private Integer sealedgeLimit;


//    @Schema(description = "授权的机台ID")
//    private List<Integer> machineAuthIds;


}
