com.geotab.model.search.WorkTimeSearch Maven / Gradle / Ivy
/*
*
* 2020 Copyright (C) Geotab Inc. All rights reserved.
*/
package com.geotab.model.search;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WorkTimeSearch extends IdSearch {
/**
* Search for WorkTimes with this Name. Wildcard can be used by prepending/appending "%" to
* string. Example "%name%".
*/
private String name;
@Builder
public WorkTimeSearch(String id, String name) {
super(id);
this.name = name;
}
}