class DayOfWeek {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DayOfWeek dayOfWeek = (DayOfWeek) o;
        return Objects.equals(slot, dayOfWeek.slot) &&
            value == dayOfWeek.value;
    }

    public  DayOfWeek(Slot slot, java.time.DayOfWeek value);

}