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

com.itheima.auth.sdk.dto.UserDTO Maven / Gradle / Ivy

package com.itheima.auth.sdk.dto;

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

/**
 * 用户
 */
public class UserDTO implements Serializable {

    private Long id;
    private Long createUser;
    private Long updateUser;
    private Long superior;
    private String account;
    private String name;
    private Long orgId;
    private String orgName;
    private Long stationId;
    private String stationName;
    private String email;
    private String mobile;
    private Sex sex;
    private boolean status;
    private String avatar;
    private String lastLoginTime;
    private List roles;
    private List roleNames;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getSuperior() {
        return superior;
    }

    public void setSuperior(Long superior) {
        this.superior = superior;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Sex getSex() {
        return sex;
    }

    public void setSex(Sex sex) {
        this.sex = sex;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public List getRoles() {
        return roles;
    }

    public void setRoles(List roles) {
        this.roles = roles;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("UserDTO{");
        sb.append("id=").append(id);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", superior=").append(superior);
        sb.append(", account='").append(account).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", orgId=").append(orgId);
        sb.append(", orgName='").append(orgName).append('\'');
        sb.append(", stationId=").append(stationId);
        sb.append(", stationName='").append(stationName).append('\'');
        sb.append(", email='").append(email).append('\'');
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", sex=").append(sex);
        sb.append(", status=").append(status);
        sb.append(", avatar='").append(avatar).append('\'');
        sb.append(", lastLoginTime='").append(lastLoginTime).append('\'');
        sb.append(", roles=").append(roles);
        sb.append(", roleNames=").append(roleNames);
        sb.append('}');
        return sb.toString();
    }
    public List getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(List roleNames) {
        this.roleNames = roleNames;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy