package com.cf.imes.module.system.controller.admin.permission.vo.menu;

import com.cf.imes.module.system.validation.common.CommonStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Size;

@Schema(description = "管理后台 - 菜单列表 Request VO")
@Data
public class MenuListReqVO {

    @Schema(description = "菜单名称，模糊匹配", example = "晨丰")
    @Size(max = 50, message = "菜单名称长度不能超过50个字符")
    private String name;

    @Schema(description = "菜单状态，参见 CommonStatusEnum 枚举类", example = "1")
    @CommonStatus
    private Integer status;

    @Schema(description = "展示状态，参见 CommonStatusEnum 枚举类", example = "1")
    @CommonStatus
    private Integer visiable;

    @Schema(description = "菜单来源，参见 MenuSourceTypeEnum 枚举类", example = "1")
    @CommonStatus
    private Integer sourceType;
}
