Back to project page mobile-shopping-assistant-appengine.
The source code is released under:
Apache License
If you think the Android project mobile-shopping-assistant-appengine 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 ch.yereaztian.mobileassistant; /* w w w . j ava 2 s . co m*/ import com.google.appengine.api.datastore.Key; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * CheckIn entity used to represent information about customers checking into places. */ @Entity public class CheckIn { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; private String placeId; private String userEmail; private Date checkinDate; public Key getKey() { return key; } void clearKey() { key = null; } public String getPlaceId() { return placeId; } public void setPlaceId(String placeId) { this.placeId = placeId; } public String getUserEmail() { return userEmail; } public void setUserEmail(String userEmail) { this.userEmail = userEmail; } public Date getCheckinDate() { return checkinDate; } public void setCheckinDate(Date date) { checkinDate = date; } }