package com.zhiqiyun.open.core.models.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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

/**
 * @author jtoms
 */
@Data
@TableName("authority_info")
public class AuthorityInfo implements Serializable {

    private static final long serialVersionUID = -2758642222540483582L;

    private Long id;

    private Long parentId;

    private String name;

    private String remark;

    @TableField(exist = false)
    private List<AuthorityInfo> children;
}
