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

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

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

/**
 * @author jtoms
 */
@Data
@TableName("role_info")
public class RoleInfo implements Serializable {

    private static final long serialVersionUID = 5241138963805332125L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String remark;

    @TableField(exist = false)
    private List<Long> listAuthorities;
}
