package com.jwipc.sys.dto;

import lombok.Data;

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

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class RolePermTreeDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = -8442724372188209832L;
    /**
     * ID
     */
    private long id;
    /**
     * 编码
     */
    private String code;
    /**
     * 名称
     */
    private String name;

    private String text;

    private String state;

    private List<RolePermTreeDTO> children;
    /**
     * 上级ID
     */
    private Long parentId;

    private boolean checked;

    private List<ButtonDTO> buttons;
}
