# DepartmentDTO

<pre class="language-java"><code class="lang-java">@NoArgsConstructor 
@AllArgsConstructor 
@Getter 
@Setter 
public class DepartmentDTO {
<strong>    private UUID id;
</strong>    private String name;

    public DepartmentDTO(Department department) {
        this.id = department.getId();
        this.name = department.getName();
    }
}
</code></pre>
