All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.focus_shift.urlaubsverwaltung.extension.api.sicknote.SickNoteCreatedEventDTO Maven / Gradle / Ivy

package de.focus_shift.urlaubsverwaltung.extension.api.sicknote;

import java.time.Instant;
import java.time.LocalDate;
import java.util.Set;
import java.util.UUID;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

@Value
@Builder
@Jacksonized
public class SickNoteCreatedEventDTO {
  @NonNull private UUID id;

  @NonNull private Long sourceId;

  @NonNull private Instant createdAt;

  @NonNull private String tenantId;

  @NonNull private SickNotePersonDTO person;

  private SickNotePersonDTO applier;

  @NonNull private String type;
  @NonNull private String status;

  @NonNull private SickNotePeriodDTO period;

  private SickNotePeriodDTO medicalCertificatePeriod;

  @NonNull private Set absentWorkingDays;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy