tech.deepdreams.employee.events.ContractUpdatedEvent Maven / Gradle / Ivy
package tech.deepdreams.employee.events;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tech.deepdreams.employee.enums.ContractType;
@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 ;
}