content: /**
   * Copyright (c) 2010-present Abixen Systems. All rights reserved.
   *
   * This library is free software; you can redistribute it and/or modify it under
   * the terms of the GNU Lesser General Public License as published by the Free
   * Software Foundation; either version 2.1 of the License, or (at your option)
   * any later version.
   *
   * This library is distributed in the hope that it will be useful, but WITHOUT
   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
   * details.
   */
  
  package com.abixen.platform.gateway.model;
  
  import com.abixen.platform.common.domain.model.Model;
  import com.abixen.platform.common.domain.model.enumtype.UserLanguage;
  import com.abixen.platform.common.domain.model.enumtype.UserState;
  
  import java.util.Set;
  
  
  public class User extends Model {
  
      private Long id;
      private String username;
      private String password;
      private String firstName;
      private String lastName;
      private UserLanguage selectLanguage;
      private String avatarFileName;
      private UserState state;
      private Set<Role> roles;
  
      @Override
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      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 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 UserLanguage getSelectedLanguage() {
          return selectLanguage;
      }
  
      public void setSelectedLanguage(UserLanguage selectedLanguage) {
          this.selectLanguage = selectedLanguage;
      }
  
      public String getAvatarFileName() {
          return avatarFileName;
      }
  
      public void setAvatarFileName(String avatarFileName) {
          this.avatarFileName = avatarFileName;
      }
  
      public UserState getState() {
          return state;
      }
  
      public void setState(UserState state) {
          this.state = state;
      }
  
      public Set<Role> getRoles() {
          return roles;
      }
  
      public void setRoles(Set<Role> roles) {
          this.roles = roles;
      }
  
  }