/
Maxvoron69
/
project-frontMax
Обзор
Документация
Войти
/
Maxvoron69
/
project-frontMax
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/game/entity/Player.java
92 строки
2 KB
vasylmalik
initial commit
17 июн 2022, 11:43
17 июн 2022, 11:43
26f3ac9
Код
Авторство
О чём код?
package com.game.entity; import java.util.Date; public class Player { private Long id; private String name; private String title; private Race race; private Profession profession; private Date birthday; private Boolean banned; private Integer level; public Player() { } public Player(Long id, String name, String title, Race race, Profession profession, Date birthday, Boolean banned, Integer level) { this.id = id; this.name = name; this.title = title; this.race = race; this.profession = profession; this.birthday = birthday; this.banned = banned; this.level = level; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public Race getRace() { return race; } public void setRace(Race race) { this.race = race; } public Profession getProfession() { return profession; } public void setProfession(Profession profession) { this.profession = profession; } public Date getBirthday() { return birthday; } public void setBirthday(Date birthday) { this.birthday = birthday; } public Boolean getBanned() { return banned; } public void setBanned(Boolean banned) { this.banned = banned; } public Integer getLevel() { return level; } public void setLevel(Integer level) { this.level = level; } }