Skip to content

Commit

Permalink
Use more lombok for DTOs
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiusTheBest committed Jun 11, 2024
1 parent af53e3a commit a1a7d0b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/java/com/vergiliusproject/dto/TypeEntry.java
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit a1a7d0b

Please sign in to comment.