1 15 16 package com.jdon.security; 17 18 import com.jdon.controller.model.Model; 19 20 24 public class UserModel extends Model{ 25 26 protected String userId; 27 protected String password; 28 protected String username; 29 protected String email; 30 protected String roleName; 31 32 public UserModel(String username){ 33 this.username = username; 34 35 } 36 37 public UserModel(){ 38 39 } 40 41 42 43 public String getUserId() { 44 return userId; 45 } 46 47 public void setUserId(String userId) { 48 this.userId = userId; 49 } 50 51 public String getPassword() { 52 return password; 53 } 54 55 public void setPassword(String password) { 56 this.password = password; 57 } 58 59 public String getEmail() { 60 return email; 61 } 62 63 public void setEmail(String email) { 64 this.email = email; 65 } 66 public String getUsername() { 67 return username; 68 } 69 public void setUsername(String username) { 70 this.username = username; 71 } 72 public String getRoleName() { 73 return roleName; 74 } 75 public void setRoleName(String roleName) { 76 this.roleName = roleName; 77 } 78 79 } 80 | Popular Tags |