/* Options: Date: 2025-12-06 13:27:48 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: GetPublishItem.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/DocumentPolicy/PublishByDeparment", Verbs="GET") public static class GetPublishItem extends PagingRequest implements IReturn, IGet { public String name = null; public String getName() { return name; } public GetPublishItem setName(String value) { this.name = value; return this; } private static Object responseType = ApprovedResponse.class; public Object getResponseType() { return responseType; } } public static class ApprovedResponse implements IResponseRequest { public DocumentPolicy updatedData = null; public Integer code = null; public String message = null; public DocumentPolicy getUpdatedData() { return updatedData; } public ApprovedResponse setUpdatedData(DocumentPolicy value) { this.updatedData = value; return this; } public Integer getCode() { return code; } public ApprovedResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public ApprovedResponse setMessage(String value) { this.message = 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 interface IResponseRequest { public Integer code = null; public String message = null; } public static class DocumentPolicy extends UpdateDocumentPolicyModel { public Date approvedDate = null; public Date estimatedDeadline = null; public Boolean isApproved = null; @Required() public Integer createdBy = null; public Date createdDate = null; public Date deletedAt = null; public Integer deletedBy = null; public String approvalComment = null; public Boolean isDeleted = null; public Date lastUpdateAt = null; public Integer updatedBy = null; public Date getApprovedDate() { return approvedDate; } public DocumentPolicy setApprovedDate(Date value) { this.approvedDate = value; return this; } public Date getEstimatedDeadline() { return estimatedDeadline; } public DocumentPolicy setEstimatedDeadline(Date value) { this.estimatedDeadline = value; return this; } public Boolean getIsApproved() { return isApproved; } public DocumentPolicy setIsApproved(Boolean value) { this.isApproved = value; return this; } public Integer getCreatedBy() { return createdBy; } public DocumentPolicy setCreatedBy(Integer value) { this.createdBy = value; return this; } public Date getCreatedDate() { return createdDate; } public DocumentPolicy setCreatedDate(Date value) { this.createdDate = value; return this; } public Date getDeletedAt() { return deletedAt; } public DocumentPolicy setDeletedAt(Date value) { this.deletedAt = value; return this; } public Integer getDeletedBy() { return deletedBy; } public DocumentPolicy setDeletedBy(Integer value) { this.deletedBy = value; return this; } public String getApprovalComment() { return approvalComment; } public DocumentPolicy setApprovalComment(String value) { this.approvalComment = value; return this; } public Boolean getIsDeleted() { return isDeleted; } public DocumentPolicy setIsDeleted(Boolean value) { this.isDeleted = value; return this; } public Date getLastUpdateAt() { return lastUpdateAt; } public DocumentPolicy setLastUpdateAt(Date value) { this.lastUpdateAt = value; return this; } public Integer getUpdatedBy() { return updatedBy; } public DocumentPolicy setUpdatedBy(Integer value) { this.updatedBy = value; return this; } } }