Last active
July 11, 2017 17:24
-
-
Save myanmarlinks/d9200b23ea4a9f64bb6a67586ee5680c to your computer and use it in GitHub Desktop.
Awesome Realm Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.myanmarlinks.awesomerealm.model; | |
import io.realm.RealmObject; | |
/** | |
* Created by soethihanaung on 7/7/17. | |
*/ | |
public class Category extends RealmObject { | |
private String id; | |
private String name; | |
public Category() { | |
} | |
public Category(String id, String name) { | |
this.id = id; | |
this.name = name; | |
} | |
public String getId() { | |
return id; | |
} | |
public void setId(String id) { | |
this.id = id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment