tech.deepdreams.employee.events.ContractExpiredEvent Maven / Gradle / Ivy
package tech.deepdreams.employee.events;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class ContractExpiredEvent {
private Long id ;
private Long employeeId ;
private OffsetDateTime eventDate ;
private LocalDate expirationDate ;
private String username ;
}