RGVUserBean.java 4.45 KB
package com.lijinji.call.bean;

import com.lijinji.call.bean.convert.RolesConvert;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class RGVUserBean {

    private String userCode;
    private String userName;
    private String password;
    private String partment;
    private String address;
    private String phone;
    private String remark;
    private String disable;
    @Convert(columnType = String.class, converter = RolesConvert.class)
    private List<RolesBean> rolesBeans;
    private int id;
    private String created;
    private String createdBy;
    private String updated;
    private String updatedBy;
    @Generated(hash = 1847130248)
    public RGVUserBean(String userCode, String userName, String password,
            String partment, String address, String phone, String remark,
            String disable, List<RolesBean> rolesBeans, int id, String created,
            String createdBy, String updated, String updatedBy) {
        this.userCode = userCode;
        this.userName = userName;
        this.password = password;
        this.partment = partment;
        this.address = address;
        this.phone = phone;
        this.remark = remark;
        this.disable = disable;
        this.rolesBeans = rolesBeans;
        this.id = id;
        this.created = created;
        this.createdBy = createdBy;
        this.updated = updated;
        this.updatedBy = updatedBy;
    }
    @Generated(hash = 1010492479)
    public RGVUserBean() {
    }
    public String getUserCode() {
        return this.userCode;
    }
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getPartment() {
        return this.partment;
    }
    public void setPartment(String partment) {
        this.partment = partment;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getDisable() {
        return this.disable;
    }
    public void setDisable(String disable) {
        this.disable = disable;
    }
    public List<RolesBean> getRolesBeans() {
        return this.rolesBeans;
    }
    public void setRolesBeans(List<RolesBean> rolesBeans) {
        this.rolesBeans = rolesBeans;
    }
    public int getId() {
        return this.id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getCreated() {
        return this.created;
    }
    public void setCreated(String created) {
        this.created = created;
    }
    public String getCreatedBy() {
        return this.createdBy;
    }
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }
    public String getUpdated() {
        return this.updated;
    }
    public void setUpdated(String updated) {
        this.updated = updated;
    }
    public String getUpdatedBy() {
        return this.updatedBy;
    }
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    @Override
    public String toString() {
        return "RGVUserBean{" +
                "userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", partment='" + partment + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", remark='" + remark + '\'' +
                ", disable='" + disable + '\'' +
                ", rolesBeans=" + rolesBeans +
                ", id=" + id +
                ", created='" + created + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", updated='" + updated + '\'' +
                ", updatedBy='" + updatedBy + '\'' +
                '}';
    }
}