com.geotab.model.entity.workholiday.WorkHoliday Maven / Gradle / Ivy
package com.geotab.model.entity.workholiday;
import com.geotab.model.entity.NameEntity;
import com.geotab.model.entity.worktime.WorkTimeHolidayGroupId;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
/**
* Day that is specified as not being a regular working day.
*/
@Getter @Setter
@NoArgsConstructor
@SuperBuilder
public class WorkHoliday extends NameEntity {
/**
* The midnight of the work holiday.
*/
private LocalDateTime date;
/**
* The holiday group Id.
*/
private WorkTimeHolidayGroupId holidayGroup;
}