Back to project page cs50-final-project-android.
The source code is released under:
MIT License
If you think the Android project cs50-final-project-android 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 net.cs50.recipes.models; //from www .j a v a2 s . co m public class User { private final int mId; private final String mUserId; private String mFirstName; private String mLastName; private String mProfileImageURL; private final long mCreatedAt; private long mUpdatedAt; public User(int id, String userId, String firstName, String lastName, String profileImageURL, long createdAt, long updatedAt) { mId = id; mUserId = userId; mFirstName = firstName; mLastName = lastName; mProfileImageURL = profileImageURL; mCreatedAt = createdAt; mUpdatedAt = updatedAt; } public int getId() { return mId; } public String getUserId() { return mUserId; } public String getFirstName() { return mFirstName; } public void setFirstName(String firstName) { mFirstName = firstName; } public String getLastName() { return mLastName; } public void setLastName(String lastName) { mLastName = lastName; } public long getCreatedAt() { return mCreatedAt; } public long getUpdatedAt() { return mUpdatedAt; } }