package com.writeoff.module.system.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class CreateMenuRequest {
    @NotBlank(message = "菜单编码不能为空")
    private String menuCode;
    @NotBlank(message = "菜单名称不能为空")
    private String menuName;
    @NotBlank(message = "路由地址不能为空")
    private String routePath;
    @NotBlank(message = "权限码不能为空")
    private String permissionCode;
    @NotNull(message = "排序不能为空")
    private Integer sortNo;

    public String getMenuCode() {
        return menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public String getRoutePath() {
        return routePath;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public Integer getSortNo() {
        return sortNo;
    }
}
