Skip to content

Commit

Permalink
add VacationTypeUpdatedEventDTO
Browse files Browse the repository at this point in the history
  • Loading branch information
bseber committed Oct 29, 2023
1 parent 5313314 commit 48f03c8
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package de.focus_shift.urlaubsverwaltung.extension.api.vacationtype;

import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

import java.util.Locale;
import java.util.Map;
import java.util.UUID;

@Value
@Builder
@Jacksonized
public class VacationTypeUpdatedEventDTO {
@NonNull UUID id;
@NonNull String tenantId;
@NonNull Long sourceId;
@NonNull String category;
boolean requiresApprovalToApply;
boolean requiresApprovalToCancel;
@NonNull String color;
boolean visibleToEveryone;
@NonNull Map<Locale, String> label;
}

0 comments on commit 48f03c8

Please sign in to comment.