/* Options: Date: 2026-04-18 00:14:55 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://qlcn-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SearchWorkflowRequest.* //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="/workflow/search", Verbs="GET") public static class SearchWorkflowRequest extends PagingRequest implements IReturn> { public String keyword = null; public Boolean isInstance = null; public Boolean isActive = null; public Integer documentTypeId = null; public Integer mainId = null; public Integer accountId = null; public Integer departmentId = null; public String getKeyword() { return keyword; } public SearchWorkflowRequest setKeyword(String value) { this.keyword = value; return this; } public Boolean getIsInstance() { return isInstance; } public SearchWorkflowRequest setIsInstance(Boolean value) { this.isInstance = value; return this; } public Boolean getIsActive() { return isActive; } public SearchWorkflowRequest setIsActive(Boolean value) { this.isActive = value; return this; } public Integer getDocumentTypeId() { return documentTypeId; } public SearchWorkflowRequest setDocumentTypeId(Integer value) { this.documentTypeId = value; return this; } public Integer getMainId() { return mainId; } public SearchWorkflowRequest setMainId(Integer value) { this.mainId = value; return this; } public Integer getAccountId() { return accountId; } public SearchWorkflowRequest setAccountId(Integer value) { this.accountId = value; return this; } public Integer getDepartmentId() { return departmentId; } public SearchWorkflowRequest setDepartmentId(Integer value) { this.departmentId = 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 Workflow { public Integer id = null; @Required() @StringLength(500) public String title = null; @StringLength(4000) public String description = null; @StringLength(100) public String documentCode = null; public Integer documentTypeId = null; public Boolean isInstance = null; public Integer mainId = null; public Boolean isActive = null; public Integer statusId = null; public Integer accountId = null; public Integer departmentId = null; @Ignore() public Integer scopeType = null; @StringLength(500) public String createdBy = null; public Date createdAt = null; @StringLength(500) public String updatedBy = null; public Date updatedAt = null; public Integer getId() { return id; } public Workflow setId(Integer value) { this.id = value; return this; } public String getTitle() { return title; } public Workflow setTitle(String value) { this.title = value; return this; } public String getDescription() { return description; } public Workflow setDescription(String value) { this.description = value; return this; } public String getDocumentCode() { return documentCode; } public Workflow setDocumentCode(String value) { this.documentCode = value; return this; } public Integer getDocumentTypeId() { return documentTypeId; } public Workflow setDocumentTypeId(Integer value) { this.documentTypeId = value; return this; } public Boolean getIsInstance() { return isInstance; } public Workflow setIsInstance(Boolean value) { this.isInstance = value; return this; } public Integer getMainId() { return mainId; } public Workflow setMainId(Integer value) { this.mainId = value; return this; } public Boolean getIsActive() { return isActive; } public Workflow setIsActive(Boolean value) { this.isActive = value; return this; } public Integer getStatusId() { return statusId; } public Workflow setStatusId(Integer value) { this.statusId = value; return this; } public Integer getAccountId() { return accountId; } public Workflow setAccountId(Integer value) { this.accountId = value; return this; } public Integer getDepartmentId() { return departmentId; } public Workflow setDepartmentId(Integer value) { this.departmentId = value; return this; } public Integer getScopeType() { return scopeType; } public Workflow setScopeType(Integer value) { this.scopeType = value; return this; } public String getCreatedBy() { return createdBy; } public Workflow setCreatedBy(String value) { this.createdBy = value; return this; } public Date getCreatedAt() { return createdAt; } public Workflow setCreatedAt(Date value) { this.createdAt = value; return this; } public String getUpdatedBy() { return updatedBy; } public Workflow setUpdatedBy(String value) { this.updatedBy = value; return this; } public Date getUpdatedAt() { return updatedAt; } public Workflow setUpdatedAt(Date value) { this.updatedAt = value; return this; } } }