package com.writeoff.module.system.dto;

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

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

    public String getMenuName() {
        return menuName;
    }

    public String getRoutePath() {
        return routePath;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public String getStatus() {
        return status;
    }
}
