Back to project page WheredWeEat.
The source code is released under:
MIT License
If you think the Android project WheredWeEat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jarwol.wheredweeat.models; // w ww . ja v a2 s . c o m import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; @DatabaseTable public class Friend extends BaseModel { @DatabaseField private String name; @DatabaseField(foreign = true) private Visit visit; public Friend() { } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public Visit getVisit() { return this.visit; } public void setVisit(Visit visit) { this.visit = visit; } @Override public String toString() { return this.name; } }