package com.bonus.canteen.core.menu.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author xliu
 * @date 2025/4/9 13:31
 */
@Data
public class MenuMaterialCategoryAddDTO {

    @ApiModelProperty("类别名称")
    private @NotBlank(
            message = "{menu_category_name_null}"
    ) String categoryName;
    @ApiModelProperty("父类id")
    private Long parentId;
    @ApiModelProperty("类型(1原料2商品)")
    private Integer categoryType;
    @ApiModelProperty("区域ID")
    private Long areaId;
}
