diff --git a/pom.xml b/pom.xml
index 8906d72..dd46162 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,6 @@
release-hive
0.0.2-SNAPSHOT
-
diff --git a/src/main/java/wtf/beatrice/releasehive/HiveMain.java b/src/main/java/wtf/beatrice/releasehive/HiveMain.java
index bce16ba..fcbab03 100644
--- a/src/main/java/wtf/beatrice/releasehive/HiveMain.java
+++ b/src/main/java/wtf/beatrice/releasehive/HiveMain.java
@@ -7,7 +7,7 @@ import org.hibernate.Transaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import wtf.beatrice.releasehive.db.HibernateManager;
-import wtf.beatrice.releasehive.dtos.UserDto;
+import wtf.beatrice.releasehive.models.User;
import java.util.List;
@@ -30,7 +30,7 @@ public class HiveMain {
Session session = HibernateManager.getSession();
Transaction transaction = session.beginTransaction();
- List users = session.createQuery("FROM User", UserDto.class).getResultList();
+ List users = session.createQuery("FROM User", User.class).getResultList();
transaction.commit();
StringBuilder usersListBuilder = new StringBuilder("[");
diff --git a/src/main/java/wtf/beatrice/releasehive/dtos/UserDto.java b/src/main/java/wtf/beatrice/releasehive/dtos/UserDto.java
deleted file mode 100644
index 5d3c039..0000000
--- a/src/main/java/wtf/beatrice/releasehive/dtos/UserDto.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package wtf.beatrice.releasehive.dtos;
-
-import wtf.beatrice.releasehive.models.User;
-
-import java.util.Date;
-import java.util.UUID;
-
-public class UserDto
-{
-
- private UUID uuid;
-
- private String username;
-
- private String email;
-
- private Date createdAt;
-
- private Date updatedAt;
-
- public UserDto(User user) {
- this.uuid = user.getUuid();
- this.username = user.getUsername();
- this.email = user.getEmail();
- this.createdAt = user.getCreatedAt();
- this.updatedAt = user.getUpdatedAt();
-}
-
- public UUID getUuid() {
- return uuid;
- }
-
- public String getUsername() {
- return username;
- }
-
- public void setUsername(String username) {
- this.username = username;
- }
-
- public void setUuid(UUID uuid) {
- this.uuid = uuid;
- }
-
- public Date getCreatedAt() {
- return createdAt;
- }
-
- public void setCreatedAt(Date createdAt) {
- this.createdAt = createdAt;
- }
-
- public Date getUpdatedAt() {
- return updatedAt;
- }
-
- public void setUpdatedAt(Date updatedAt) {
- this.updatedAt = updatedAt;
- }
-
- public String getEmail() {
- return email;
- }
-
- public void setEmail(String email) {
- this.email = email;
- }
-}