package com.chinaweal.aiccs.org.entity.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Lee
 * @since 2021-06-21 16:52
 */
@Data
public class UserMenusDto implements Serializable, Comparable<UserMenusDto>{

    private static final long serialVersionUID=1L;

    private String path;

    private String title;

    private String sysMenuId;

    private String pid;

    private List<UserMenusDto> children;

    private Integer no;

    private Integer level;


    @Override
    public int compareTo(UserMenusDto o) {
        return this.getNo() - o.getNo();
    }
}
