Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package domain;
- /**
- *
- * @author Korisnik
- */
- public class User {
- private long idUser;
- private String firstName;
- private String lastName;
- private String username;
- private String password;
- private String email;
- public User(long idUser, String firstName, String lastName, String username, String password, String email) {
- this.idUser = idUser;
- this.firstName = firstName;
- this.lastName = lastName;
- this.username = username;
- this.password = password;
- this.email = email;
- }
- public User() {
- }
- /**
- * @return the idUser
- */
- public long getIdUser() {
- return idUser;
- }
- /**
- * @param idUser the idUser to set
- */
- public void setIdUser(long idUser) {
- this.idUser = idUser;
- }
- /**
- * @return the firstName
- */
- public String getFirstName() {
- return firstName;
- }
- /**
- * @param firstName the firstName to set
- */
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
- /**
- * @return the lastName
- */
- public String getLastName() {
- return lastName;
- }
- /**
- * @param lastName the lastName to set
- */
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
- /**
- * @return the username
- */
- public String getUsername() {
- return username;
- }
- /**
- * @param username the username to set
- */
- public void setUsername(String username) {
- this.username = username;
- }
- /**
- * @return the password
- */
- public String getPassword() {
- return password;
- }
- /**
- * @param password the password to set
- */
- public void setPassword(String password) {
- this.password = password;
- }
- /**
- * @return the email
- */
- public String getEmail() {
- return email;
- }
- /**
- * @param email the email to set
- */
- public void setEmail(String email) {
- this.email = email;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement