package com.sckw.system.model.vo.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author czh
 * @desc 查下级
 * @date 2023/7/6
 */
@Data
public class QueryChildMenuReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 4452342292770300657L;

    /**
     * 菜单id
     */
    @NotNull(message = "菜单id不能为空")
    private Long id;

    /**
     * 要查询的下级菜单类型  1菜单 2按钮
     */
    private Integer type;

    /**
     * 菜单名
     */
    private String name;

    /**
     * 菜单编码
     */
    private String perms;

}
