/* Options: Date: 2026-03-06 08:28:53 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SearchProviderRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/provider/search", Verbs="GET") public static class SearchProviderRequest extends PagingRequest implements IReturn> { public String name = null; public Integer providerType = null; public String getName() { return name; } public SearchProviderRequest setName(String value) { this.name = value; return this; } public Integer getProviderType() { return providerType; } public SearchProviderRequest setProviderType(Integer value) { this.providerType = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class PageResponse implements IResponseRequest { public Integer code = null; public String message = null; public ArrayList data = null; public Pagination pagination = null; public Integer getCode() { return code; } public PageResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public PageResponse setMessage(String value) { this.message = value; return this; } public ArrayList getData() { return data; } public PageResponse setData(ArrayList value) { this.data = value; return this; } public Pagination getPagination() { return pagination; } public PageResponse setPagination(Pagination value) { this.pagination = value; return this; } } public static class PagingRequest { public Integer page = null; public Integer limit = null; public Integer getPage() { return page; } public PagingRequest setPage(Integer value) { this.page = value; return this; } public Integer getLimit() { return limit; } public PagingRequest setLimit(Integer value) { this.limit = value; return this; } } public static class Provider { public Integer id = null; public String name = null; public String taxCode = null; public String address = null; public String email = null; public String additionalInfo = null; public Integer providerType = null; public Date createdAt = null; public Integer createdBy = null; public Integer getId() { return id; } public Provider setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Provider setName(String value) { this.name = value; return this; } public String getTaxCode() { return taxCode; } public Provider setTaxCode(String value) { this.taxCode = value; return this; } public String getAddress() { return address; } public Provider setAddress(String value) { this.address = value; return this; } public String getEmail() { return email; } public Provider setEmail(String value) { this.email = value; return this; } public String getAdditionalInfo() { return additionalInfo; } public Provider setAdditionalInfo(String value) { this.additionalInfo = value; return this; } public Integer getProviderType() { return providerType; } public Provider setProviderType(Integer value) { this.providerType = value; return this; } public Date getCreatedAt() { return createdAt; } public Provider setCreatedAt(Date value) { this.createdAt = value; return this; } public Integer getCreatedBy() { return createdBy; } public Provider setCreatedBy(Integer value) { this.createdBy = value; return this; } } }