/* Options: Date: 2026-04-29 05:08:25 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: SearchProcurementItemRequest.* //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/item/search", Verbs="GET") public static class SearchProcurementItemRequest extends PagingRequest implements IReturn> { public Integer batchId = null; public Integer departmentId = null; public Integer approvalStatus = null; public Integer getBatchId() { return batchId; } public SearchProcurementItemRequest setBatchId(Integer value) { this.batchId = value; return this; } public Integer getDepartmentId() { return departmentId; } public SearchProcurementItemRequest setDepartmentId(Integer value) { this.departmentId = value; return this; } public Integer getApprovalStatus() { return approvalStatus; } public SearchProcurementItemRequest setApprovalStatus(Integer value) { this.approvalStatus = 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 ProcurementItem { public Integer id = null; public Integer batchId = null; public Integer departmentId = null; public Integer equipmentId = null; @Required() @StringLength(500) public String productName = null; public String technicalSpec = null; @StringLength(50) public String unit = null; public Integer quantity = null; public String purpose = null; public String note = null; public Integer approvalStatus = null; public String approvalNote = null; public Date approvedAt = null; public Integer approvedBy = null; public Date createdAt = null; public Integer createdBy = null; public Date updatedAt = null; public Integer updatedBy = null; public Boolean isDeleted = null; public Date deletedAt = null; public Integer deletedBy = null; @Ignore() public String departmentName = null; @Ignore() public String createdByName = null; @Ignore() public String approvedByName = null; public Integer getId() { return id; } public ProcurementItem setId(Integer value) { this.id = value; return this; } public Integer getBatchId() { return batchId; } public ProcurementItem setBatchId(Integer value) { this.batchId = value; return this; } public Integer getDepartmentId() { return departmentId; } public ProcurementItem setDepartmentId(Integer value) { this.departmentId = value; return this; } public Integer getEquipmentId() { return equipmentId; } public ProcurementItem setEquipmentId(Integer value) { this.equipmentId = value; return this; } public String getProductName() { return productName; } public ProcurementItem setProductName(String value) { this.productName = value; return this; } public String getTechnicalSpec() { return technicalSpec; } public ProcurementItem setTechnicalSpec(String value) { this.technicalSpec = value; return this; } public String getUnit() { return unit; } public ProcurementItem setUnit(String value) { this.unit = value; return this; } public Integer getQuantity() { return quantity; } public ProcurementItem setQuantity(Integer value) { this.quantity = value; return this; } public String getPurpose() { return purpose; } public ProcurementItem setPurpose(String value) { this.purpose = value; return this; } public String getNote() { return note; } public ProcurementItem setNote(String value) { this.note = value; return this; } public Integer getApprovalStatus() { return approvalStatus; } public ProcurementItem setApprovalStatus(Integer value) { this.approvalStatus = value; return this; } public String getApprovalNote() { return approvalNote; } public ProcurementItem setApprovalNote(String value) { this.approvalNote = value; return this; } public Date getApprovedAt() { return approvedAt; } public ProcurementItem setApprovedAt(Date value) { this.approvedAt = value; return this; } public Integer getApprovedBy() { return approvedBy; } public ProcurementItem setApprovedBy(Integer value) { this.approvedBy = value; return this; } public Date getCreatedAt() { return createdAt; } public ProcurementItem setCreatedAt(Date value) { this.createdAt = value; return this; } public Integer getCreatedBy() { return createdBy; } public ProcurementItem setCreatedBy(Integer value) { this.createdBy = value; return this; } public Date getUpdatedAt() { return updatedAt; } public ProcurementItem setUpdatedAt(Date value) { this.updatedAt = value; return this; } public Integer getUpdatedBy() { return updatedBy; } public ProcurementItem setUpdatedBy(Integer value) { this.updatedBy = value; return this; } public Boolean getIsDeleted() { return isDeleted; } public ProcurementItem setIsDeleted(Boolean value) { this.isDeleted = value; return this; } public Date getDeletedAt() { return deletedAt; } public ProcurementItem setDeletedAt(Date value) { this.deletedAt = value; return this; } public Integer getDeletedBy() { return deletedBy; } public ProcurementItem setDeletedBy(Integer value) { this.deletedBy = value; return this; } public String getDepartmentName() { return departmentName; } public ProcurementItem setDepartmentName(String value) { this.departmentName = value; return this; } public String getCreatedByName() { return createdByName; } public ProcurementItem setCreatedByName(String value) { this.createdByName = value; return this; } public String getApprovedByName() { return approvedByName; } public ProcurementItem setApprovedByName(String value) { this.approvedByName = value; return this; } } }