package com.fchaps.model.impl;

import com.fchaps.model.UserType;
import com.fchaps.model.User;
import com.fchaps.model.Player;

import java.io.Serializable;

public class UserImpl implements User, Serializable {

    protected Long id;

    protected String username;
    protected String password;
    protected UserType type;
    protected Player player;
    protected Boolean disabled;

    public UserImpl() {
        super();
    }

    public UserImpl(UserType type, Boolean disabled) {
        this.type = type;
        this.disabled = disabled;
    }

    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 UserType getType() {
        return type;
    }

    public void setType(UserType type) {
        this.type = type;
    }

    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public Boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

}
