All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.search.WorkHolidaySearch Maven / Gradle / Ivy

package com.geotab.model.search;

import com.geotab.model.entity.workholiday.WorkHoliday;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * The object used to specify the arguments when searching for a {@link WorkHoliday}.
 */
@Getter @Setter
@NoArgsConstructor
public class WorkHolidaySearch extends Search {

  /**
   * Search for {@link WorkHoliday}s with this Name. Wildcard can be used by prepending/appending "%" to string. Example
   * "%name%".
   */
  private String name;

  @Builder
  public WorkHolidaySearch(String id, String name) {
    super(id);
    this.name = name;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy