/* Options: Date: 2026-04-29 05:09:43 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: SearchProcurementBatchRequest.* //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="/procurement/batch/search", Verbs="GET") public static class SearchProcurementBatchRequest extends PagingRequest implements IReturn> { public String title = null; public Integer status = null; public String getTitle() { return title; } public SearchProcurementBatchRequest setTitle(String value) { this.title = value; return this; } public Integer getStatus() { return status; } public SearchProcurementBatchRequest setStatus(Integer value) { this.status = 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 ProcurementBatch { public Integer id = null; @Required() @StringLength(500) public String title = null; public Date deadline = null; public String description = null; public Integer status = null; public Date createdAt = null; public Integer createdBy = null; public Date closedAt = null; public Integer closedBy = null; public Boolean isDeleted = null; public Date deletedAt = null; public Integer deletedBy = null; @Ignore() public String createdByName = null; @Ignore() public Integer itemCount = null; public Integer getId() { return id; } public ProcurementBatch setId(Integer value) { this.id = value; return this; } public String getTitle() { return title; } public ProcurementBatch setTitle(String value) { this.title = value; return this; } public Date getDeadline() { return deadline; } public ProcurementBatch setDeadline(Date value) { this.deadline = value; return this; } public String getDescription() { return description; } public ProcurementBatch setDescription(String value) { this.description = value; return this; } public Integer getStatus() { return status; } public ProcurementBatch setStatus(Integer value) { this.status = value; return this; } public Date getCreatedAt() { return createdAt; } public ProcurementBatch setCreatedAt(Date value) { this.createdAt = value; return this; } public Integer getCreatedBy() { return createdBy; } public ProcurementBatch setCreatedBy(Integer value) { this.createdBy = value; return this; } public Date getClosedAt() { return closedAt; } public ProcurementBatch setClosedAt(Date value) { this.closedAt = value; return this; } public Integer getClosedBy() { return closedBy; } public ProcurementBatch setClosedBy(Integer value) { this.closedBy = value; return this; } public Boolean getIsDeleted() { return isDeleted; } public ProcurementBatch setIsDeleted(Boolean value) { this.isDeleted = value; return this; } public Date getDeletedAt() { return deletedAt; } public ProcurementBatch setDeletedAt(Date value) { this.deletedAt = value; return this; } public Integer getDeletedBy() { return deletedBy; } public ProcurementBatch setDeletedBy(Integer value) { this.deletedBy = value; return this; } public String getCreatedByName() { return createdByName; } public ProcurementBatch setCreatedByName(String value) { this.createdByName = value; return this; } public Integer getItemCount() { return itemCount; } public ProcurementBatch setItemCount(Integer value) { this.itemCount = value; return this; } } }