Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.modelpaper.mad.it17121002;
- /**
- * Created by Suraj on 10/6/2018.
- */
- public final class UserProfile {
- private UserProfile(){
- }
- public static UserProfile getProfile(){
- UserProfile userProfile = new UserProfile();
- return userProfile;
- }
- class Users implements BaseColumn{
- public static final String TABLE_NAME = "UserInfo";
- public static final String COL_ID = "_ID";
- public static final String COL_USERNAME = "userName ";
- public static final String COL_DOB = "dateOfBirth";
- public static final String COL_GENDER = "Gender";
- public static final String COL_PASSWORD = "Password";
- private int id;
- private String username;
- private String dob;
- private String gender;
- private String password;
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getDob() {
- return dob;
- }
- public void setDob(String dob) {
- this.dob = dob;
- }
- public String getGender() {
- return gender;
- }
- public void setGender(String gender) {
- this.gender = gender;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- }
- public Users getUser(){
- Users users = new Users();
- return users;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement