HubNotes.java 1.66 KB
package com.lotus.town.dao;

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

@Entity
public class HubNotes {
    @Id(autoincrement = true)
    Long id;
    String name;//邻居名字/自己
    long datetime; //日期
    String behaviour; //行为
    String result; //行为结果
    int type;//邻居 0|| 自己 1
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getBehaviour() {
        return this.behaviour;
    }
    public void setBehaviour(String behaviour) {
        this.behaviour = behaviour;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public long getDatetime() {
        return this.datetime;
    }
    public void setDatetime(long datetime) {
        this.datetime = datetime;
    }
    public String getResult() {
        return this.result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    @Generated(hash = 435450085)
    public HubNotes(Long id, String name, long datetime, String behaviour, String result,
            int type) {
        this.id = id;
        this.name = name;
        this.datetime = datetime;
        this.behaviour = behaviour;
        this.result = result;
        this.type = type;
    }
    @Generated(hash = 87949149)
    public HubNotes() {
    }
}