package com.sysu.admin.support.shiro;

import lombok.Data;

import java.io.Serializable;

/**
 * @title ShiroPrincipal
 * @description
 * @author XIE
 * @date 2020年4月24日下午10:09:43
 */
@Data
public class ShiroPrincipal implements Serializable {

    private static final long serialVersionUID = 1L;



    private Long id;

    private String username;

    private String nickname;

    public ShiroPrincipal(Long id, String username, String nickname) {
        super();
        this.id = id;
        this.username = username;
        this.nickname = nickname;
    }
}
