Advertisement
Guest User

Untitled

a guest
Aug 6th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.51 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 com.demo.dominio;
  7. /**
  8.  *
  9.  * @author joseluis
  10.  */
  11. public class User {
  12.     private String username;
  13.     private String password;
  14.     private String email;
  15.     private String name;
  16.     private String lastname;
  17.     private Integer status;
  18.  
  19.    
  20.     public User(){
  21.         username="";
  22.         password="";
  23.         name="";
  24.         lastname="";
  25.         email="";
  26.         status = 1;
  27.     }
  28.  
  29.     public Integer getStatus() {
  30.         return status;
  31.     }
  32.  
  33.     public void setStatus(Integer status) {
  34.         this.status = status;
  35.     }
  36.  
  37.  
  38.  
  39.  
  40.     public String getUsername() {
  41.         return username;
  42.     }
  43.  
  44.     public void setUsername(String username) {
  45.         this.username = username;
  46.     }
  47.  
  48.     public String getPassword() {
  49.         return password;
  50.     }
  51.  
  52.     public void setPassword(String password) {
  53.         this.password = password;
  54.     }
  55.  
  56.     public String getEmail() {
  57.         return email;
  58.     }
  59.  
  60.     public void setEmail(String email) {
  61.         this.email = email;
  62.     }
  63.  
  64.     public String getName() {
  65.         return name;
  66.     }
  67.  
  68.     public void setName(String name) {
  69.         this.name = name;
  70.     }
  71.  
  72.     public String getLastname() {
  73.         return lastname;
  74.     }
  75.  
  76.     public void setLastname(String lastname) {
  77.         this.lastname = lastname;
  78.     }
  79.  
  80.  
  81.        
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement