UserAuthInfo.java 684 Bytes
package com.dituhui.pea.pojo;

import lombok.Data;

import java.io.Serializable;

/**
 * 纯粹的用户信息,对应数据库
 *
 * @author dk
 */
@Data
public class UserAuthInfo implements Serializable {

    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户角色
     */
    private String role;

    public UserAuthInfo(String userId, String userName, String password, String role) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.role = role;
    }

}