1 package com.test.bo; 2 3 public class User { 4 5 private String username; 6 private String password; 7 private String email; 8 private int age; 9 10 11 public String toString() { 12 return "username=" + username 13 + ";password=" + password 14 + ";email=" + email 15 + ";age=" + age; 16 } 17 18 public int getAge() { 19 return age; 20 } 21 22 public void setAge(int age) { 23 this.age = age; 24 } 25 26 public String getEmail() { 27 return email; 28 } 29 30 public void setEmail(String email) { 31 this.email = email; 32 } 33 34 public String getPassword() { 35 return password; 36 } 37 38 public void setPassword(String password) { 39 this.password = password; 40 } 41 42 public String getUsername() { 43 return username; 44 } 45 46 public void setUsername(String username) { 47 this.username = username; 48 } 49 } 50 | Popular Tags |