content: package gr.aueb.cf.ch12;
  
  /**
   * User JavaBean.
   */
  public class User {
      private long id;
      private String firstname;
      private String lastname;
      private String username;
      private String password;
      private boolean active;
  
      public User() {
  
      }
  
      public User(long id, String firstname, String lastname, String username, String password, boolean active) {
          this.id = id;
          this.firstname = firstname;
          this.lastname = lastname;
          this.username = username;
          this.password = password;
          this.active = active;
      }
  
      public long getId() {
          return id;
      }
  
      public void setId(long id) {
          this.id = id;
      }
  
      public String getFirstname() {
          return firstname;
      }
  
      public void setFirstname(String firstname) {
          this.firstname = firstname;
      }
  
      public String getLastname() {
          return lastname;
      }
  
      public void setLastname(String lastname) {
          this.lastname = lastname;
      }
  
      public String getUsername() {
          return username;
      }
  
      public void setUsername(String username) {
          this.username = username;
      }
  
      public String getPassword() {
          return password;
      }
  
      public void setPassword(String password) {
          this.password = password;
      }
  
      public boolean isActive() {
          return active;
      }
  
      public void setActive(boolean active) {
          this.active = active;
      }
  }
  