tech.deepdreams.employee.events.ContractUpdatedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of employee-events Show documentation
Show all versions of employee-events Show documentation
HR employee events project for Spring Boot
The newest version!
package tech.deepdreams.employee.events;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import tech.deepdreams.employee.enums.ContractType;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ContractUpdatedEvent {
private Long id ;
private Long employeeId ;
private OffsetDateTime eventDate ;
private LocalDate hiringDate ;
private ContractType contractType ;
private Integer contractDuration ;
private BigDecimal baseSalary ;
private boolean useSalaryGrid ;
private Double weeklyWorkingHours ;
private Integer annualLeaveDays ;
private Integer retirementAge ;
private Long positionId ;
private Long unitId ;
private Long functionId ;
private Long categoryId ;
private Long echelonId ;
private String username ;
}