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; //from w w w . j a v a2 s.c o m import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; @DatabaseTable public class Item extends BaseModel { @DatabaseField private String name; @DatabaseField private ItemType itemType; @DatabaseField private String description; @DatabaseField(foreign = true) private Visit visit; public Item() { } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public ItemType getItemType() { return this.itemType; } public void setItemType(ItemType itemType) { this.itemType = itemType; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public Visit getVisit() { return this.visit; } public void setVisit(Visit visit) { this.visit = visit; } }