package com.mvc.model.beihai;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class DdUser {

    private Integer uid;

    private String userName;

    private String passwd;

    private Integer companyId;

    private Integer roleId;

    private String company;

    private String logo;

    private String namePic;

    @JsonIgnore
    private String authority;

    private boolean refresh;

    private String passwd2;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getCompany() {
        return company;
    }

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

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public boolean isRefresh() {
        return refresh;
    }

    public void setRefresh(boolean refresh) {
        this.refresh = refresh;
    }

    public String getPasswd2() {
        return passwd2;
    }

    public void setPasswd2(String passwd2) {
        this.passwd2 = passwd2;
    }

    public String getNamePic() {
        return namePic;
    }

    public void setNamePic(String namePic) {
        this.namePic = namePic;
    }

    public DdUser(Integer uid, String userName, String passwd, Integer companyId, Integer roleId, String company, String logo, String namePic, String authority, boolean refresh, String passwd2) {
        this.uid = uid;
        this.userName = userName;
        this.passwd = passwd;
        this.companyId = companyId;
        this.roleId = roleId;
        this.company = company;
        this.logo = logo;
        this.namePic = namePic;
        this.authority = authority;
        this.refresh = refresh;
        this.passwd2 = passwd2;
    }

    public DdUser() {
    }
}