package com.yhy.module.core.controller.admin.quota.vo;

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

import javax.validation.constraints.NotNull;

/**
 * 定额专业绑定工料机专业 Request VO
 * 
 * @author yhy
 */
@Schema(description = "管理后台 - 定额专业绑定工料机专业 Request VO")
@Data
public class QuotaCatalogItemBindSpecialtyReqVO {

    @Schema(description = "定额专业节点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "定额专业节点ID不能为空")
    private Long catalogItemId;

    @Schema(description = "工料机专业节点ID（机类树节点）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "工料机专业节点ID不能为空")
    private Long categoryTreeId;
}
