SHARE
TWEET

Untitled

a guest Mar 24th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package kr.hs.dgsw.web_0319;
  2.  
  3. public class User {
  4.     private String id;
  5.     private String name;
  6.     private String email;
  7.  
  8.     @Override
  9.     public String toString() {
  10.         return name + "/" + email;
  11.     }
  12.  
  13.     public String getId() {
  14.         return id;
  15.     }
  16.  
  17.     public void setId(String id) {
  18.         this.id = id;
  19.     }
  20.  
  21.     public String getName() {
  22.         return name;
  23.     }
  24.  
  25.     public void setName(String name) {
  26.         this.name = name;
  27.     }
  28.  
  29.     public String getEmail() {
  30.         return email;
  31.     }
  32.  
  33.     public void setEmail(String email) {
  34.         this.email = email;
  35.     }
  36.  
  37.     public User() {}
  38.  
  39.     public User(String id, String name, String email) {
  40.         this.id = id;
  41.         this.name = name;
  42.         this.email = email;
  43.     }
  44. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top