Advertisement
absjabed

student Model

Dec 21st, 2017
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.16 KB | None | 0 0
  1. public class StudentModel {
  2.  
  3.     private String id;
  4.     @SerializedName("student_name")
  5.     @Expose
  6.     private String student_name;
  7.     @SerializedName("student_address")
  8.     @Expose
  9.     private String student_address;
  10.     @SerializedName("student_email")
  11.     @Expose
  12.     private String student_email;
  13.     @SerializedName("student_phone")
  14.     @Expose
  15.     private String student_phone;
  16.     @SerializedName("dept_code")
  17.     @Expose
  18.     private String dept_code;
  19.     @SerializedName("batch_id")
  20.     @Expose
  21.     private String batch_id;
  22.     @SerializedName("student_id")
  23.     @Expose
  24.     private String student_id;
  25.     @SerializedName("password")
  26.     @Expose
  27.     private String password;
  28.     private String status;
  29.     private String unique_id;
  30.     private String old_password;
  31.     private String new_password;
  32.    
  33.     @Override
  34.     public String toString() {
  35.         return "Name: "+student_name+"\nAddress: "+student_address+"\nEmail: "+student_email+
  36.                 "\nPhone: "+student_phone+"\nDept. Code: "+dept_code+"\nBatch: "+batch_id+
  37.                 "\nStudent Id: "+student_id+"\nPassword: "+password;
  38.     } //and getter-setter methods }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement