diff --git a/src/main/java/com/vergiliusproject/dto/TypeEntry.java b/src/main/java/com/vergiliusproject/dto/TypeEntry.java index ba7756e..e0195d2 100644 --- a/src/main/java/com/vergiliusproject/dto/TypeEntry.java +++ b/src/main/java/com/vergiliusproject/dto/TypeEntry.java @@ -1,11 +1,9 @@ package com.vergiliusproject.dto; +import lombok.AllArgsConstructor; + +@AllArgsConstructor public class TypeEntry { public String name; - public boolean isNew; - - public TypeEntry(String name, boolean isNew) { - this.name = name; - this.isNew = isNew; - } + public boolean isNew; } \ No newline at end of file