package com.exadel.dto; import com.exadel.model.entity.user.UserRole; public class NewTrainerDTO { private long id; private String name; private String surname; private String username; private String phone; private String email; private UserRole role; public NewTrainerDTO() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSurname() { return surname; } public void setSurname(String surname) { this.surname = surname; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public UserRole getRole() { return role; } public void setRole(UserRole role) { this.role = role; } 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; } }