ServiceProviderSearchDTO.java
package com.tradecloud.dto.api.serviceprovider;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.tradecloud.dto.api.SearchDTO;
@JsonRootName(value = "serviceProviderSearchDTO")
public class ServiceProviderSearchDTO extends SearchDTO {
@JsonProperty(required = false)
@JsonPropertyDescription(value = "The supplier name.")
private String name;
@JsonProperty(required = false)
@JsonPropertyDescription(value = "The supplier code.")
private String code;
@JsonProperty(required = false)
@JsonPropertyDescription(value = "The organisation code that the supplier is linked to.")
private String organisation;
private String type;
private boolean elc;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getOrganisation() {
return organisation;
}
public void setOrganisation(String organisation) {
this.organisation = organisation;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public boolean isElc() {
return elc;
}
public void setElc(boolean elc) {
this.elc = elc;
}
}