UserInfo.java 1.04 KB
package com.huaheng.robot.login;

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

@Entity
public class UserInfo {

    @Id
    private long _id;
    @NotNull
    private String name;
    @NotNull
    private String password;
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public long get_id() {
        return this._id;
    }
    public void set_id(long _id) {
        this._id = _id;
    }
    @Generated(hash = 1799425718)
    public UserInfo(long _id, @NotNull String name, @NotNull String password) {
        this._id = _id;
        this.name = name;
        this.password = password;
    }
    @Generated(hash = 1279772520)
    public UserInfo() {
    }


}