package de.florianmarsch.fussballmanager.db.entity.player;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import de.florianmarsch.fussballmanager.db.entity.AbstractEntity;
import de.florianmarsch.fussballmanager.db.entity.club.Club;

@Table
@Entity
public class Player extends AbstractEntity {

	private String comunio;
	private String feedmonster;

	private String country;
	private String firstName;
	private String lastName;
	private String name;
	private String abbreviationName;
	private String position;
	private String age;
	private String thumbnail;

	public String getComunio() {
		return comunio;
	}

	public void setComunio(String comunio) {
		this.comunio = comunio;
	}

	public String getFeedmonster() {
		return feedmonster;
	}

	public void setFeedmonster(String feedmonster) {
		this.feedmonster = feedmonster;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	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 getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAbbreviationName() {
		return abbreviationName;
	}

	public void setAbbreviationName(String abbreviationName) {
		this.abbreviationName = abbreviationName;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	@Override
	public String getDisplayValue() {
		return getName();
	}

}

@@ -481,86 +481,8 @@
 r;%0A%0A
-%09private String country;%0A%09private String firstName;%0A%09private String lastName;%0A
 %09pri
@@ -495,24 +495,24 @@
 tring name;%0A
+
 %09private Str
@@ -562,56 +562,8 @@
 ion;
-%0A%09private String age;%0A%09private String thumbnail;
 %0A%0A%09p
@@ -836,398 +836,8 @@
 %09%7D%0A%0A
-%09public String getCountry() %7B%0A%09%09return country;%0A%09%7D%0A%0A%09public void setCountry(String country) %7B%0A%09%09this.country = country;%0A%09%7D%0A%0A%09public String getFirstName() %7B%0A%09%09return firstName;%0A%09%7D%0A%0A%09public void setFirstName(String firstName) %7B%0A%09%09this.firstName = firstName;%0A%09%7D%0A%0A%09public String getLastName() %7B%0A%09%09return lastName;%0A%09%7D%0A%0A%09public void setLastName(String lastName) %7B%0A%09%09this.lastName = lastName;%0A%09%7D%0A%0A
 %09pub
@@ -1210,24 +1210,24 @@
 position) %7B%0A
+
 %09%09this.posit
@@ -1250,244 +1250,8 @@
 %09%7D%0A%0A
-%09public String getAge() %7B%0A%09%09return age;%0A%09%7D%0A%0A%09public void setAge(String age) %7B%0A%09%09this.age = age;%0A%09%7D%0A%0A%09public String getThumbnail() %7B%0A%09%09return thumbnail;%0A%09%7D%0A%0A%09public void setThumbnail(String thumbnail) %7B%0A%09%09this.thumbnail = thumbnail;%0A%09%7D%0A%0A
 %09@Ov

correct schema of player due to new api