package hf.lskj.com.carstockcount.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by yaoju on 2017/7/31.
 */

@Entity
public class User {
    @Id
    private String loginId;
    private String password;
    private String realName;
    private String role;
    private String storeName;
    private boolean current;
    @Generated(hash = 300782054)
    public User(String loginId, String password, String realName, String role,
            String storeName, boolean current) {
        this.loginId = loginId;
        this.password = password;
        this.realName = realName;
        this.role = role;
        this.storeName = storeName;
        this.current = current;
    }
    @Generated(hash = 586692638)
    public User() {
    }
    public String getLoginId() {
        return this.loginId;
    }
    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getRealName() {
        return this.realName;
    }
    public void setRealName(String realName) {
        this.realName = realName;
    }
    public String getRole() {
        return this.role;
    }
    public void setRole(String role) {
        this.role = role;
    }
    public String getStoreName() {
        return this.storeName;
    }
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }
    public boolean getCurrent() {
        return this.current;
    }
    public void setCurrent(boolean current) {
        this.current = current;
    }
}
