package com.passionProject.bikeProject.Entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class User {

    @Id
    @GeneratedValue
    Long id;

    @Column
    private String username;
    private String firstName;
    private String lastName;
    private String password;
    private String email;
    private String favoriteTrail;

    public User() {
    }

    public User(String username, String firstName, String lastName, String password, String email, String favoriteTrail) {
        this.username = username;
        this.firstName = firstName;
        this.lastName = lastName;
        this.password = password;
        this.email = email;
        this.favoriteTrail = favoriteTrail;
    }

    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 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 getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFavoriteTrail() {
        return favoriteTrail;
    }

    public void setFavoriteTrail(String favoriteTrail) {
        this.favoriteTrail = favoriteTrail;
    }
}
