All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jladder.data.BaseUserInfo Maven / Gradle / Ivy

There is a newer version: 5.0.44
Show newest version
package com.jladder.data;

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

public class BaseUserInfo implements Serializable {
    /// 
    /// 用户名
    /// 
    private String username;

    /// 
    /// 唯一用户
    /// 
    public String uuid;
    /// 
    /// 用户全名
    /// 
    private String fullname;
    /// 
    /// SessionID
    /// 
    private String sessionid;
    /// 
    /// 账户中心token码
    /// 
    private String usertoken;
    /// 
    /// 分组ID
    /// 
    private String groupid;


    /// 
    /// 下辖分组
    /// 
    private List groups;

    /// 
    /// 密钥标识
    /// 
    private String sign;

    /// 
    /// 密钥
    /// 
    private String secret;
    /**
     * 信息存储位置
     */
    private String storage;



    /**
     * 平台代码,也是租户代码,默认开发着平台
     */
    public String company;


    public BaseUserInfo() {
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid;
    }

    public String getUsertoken() {
        return usertoken;
    }

    public void setUsertoken(String usertoken) {
        this.usertoken = usertoken;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public List getGroups() {
        return groups;
    }

    public void setGroups(List groups) {
        this.groups = groups;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getStorage() {
        if(storage==null)return "";
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }


    public Record toRecord(){
        return Record.parse(this).put("username",username).put("fullname",fullname).put("uuid",uuid).put("sign",sign).put("company",company).put("storage",storage);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy