Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.33 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package domain;
  7.  
  8. /**
  9.  *
  10.  * @author Korisnik
  11.  */
  12. public class User {
  13.      private long idUser;
  14.      private String firstName;
  15.      private String lastName;
  16.     private String username;
  17.      private String password;
  18.     private String email;
  19.  
  20.     public User(long idUser, String firstName, String lastName, String username, String password, String email) {
  21.         this.idUser = idUser;
  22.         this.firstName = firstName;
  23.         this.lastName = lastName;
  24.         this.username = username;
  25.         this.password = password;
  26.         this.email = email;
  27.     }
  28.  
  29.     public User() {
  30.     }
  31.  
  32.     /**
  33.      * @return the idUser
  34.      */
  35.     public long getIdUser() {
  36.         return idUser;
  37.     }
  38.  
  39.     /**
  40.      * @param idUser the idUser to set
  41.      */
  42.     public void setIdUser(long idUser) {
  43.         this.idUser = idUser;
  44.     }
  45.  
  46.     /**
  47.      * @return the firstName
  48.      */
  49.     public String getFirstName() {
  50.         return firstName;
  51.     }
  52.  
  53.     /**
  54.      * @param firstName the firstName to set
  55.      */
  56.     public void setFirstName(String firstName) {
  57.         this.firstName = firstName;
  58.     }
  59.  
  60.     /**
  61.      * @return the lastName
  62.      */
  63.     public String getLastName() {
  64.         return lastName;
  65.     }
  66.  
  67.     /**
  68.      * @param lastName the lastName to set
  69.      */
  70.     public void setLastName(String lastName) {
  71.         this.lastName = lastName;
  72.     }
  73.  
  74.     /**
  75.      * @return the username
  76.      */
  77.     public String getUsername() {
  78.         return username;
  79.     }
  80.  
  81.     /**
  82.      * @param username the username to set
  83.      */
  84.     public void setUsername(String username) {
  85.         this.username = username;
  86.     }
  87.  
  88.     /**
  89.      * @return the password
  90.      */
  91.     public String getPassword() {
  92.         return password;
  93.     }
  94.  
  95.     /**
  96.      * @param password the password to set
  97.      */
  98.     public void setPassword(String password) {
  99.         this.password = password;
  100.     }
  101.  
  102.     /**
  103.      * @return the email
  104.      */
  105.     public String getEmail() {
  106.         return email;
  107.     }
  108.  
  109.     /**
  110.      * @param email the email to set
  111.      */
  112.     public void setEmail(String email) {
  113.         this.email = email;
  114.     }
  115. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement