/* Options: Date: 2025-12-06 13:13:51 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: UpdateDocumentPolicyRequest.* //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/update", Verbs="POST") public static class UpdateDocumentPolicyRequest extends UpdateDocumentPolicyModel implements IReturn, IPost { private static Object responseType = DocumentPolicyUpdateResponse.class; public Object getResponseType() { return responseType; } } public static class DocumentPolicyUpdateResponse implements IResponseRequest { public Integer code = null; public String message = null; public Integer updatedId = null; public Integer getCode() { return code; } public DocumentPolicyUpdateResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public DocumentPolicyUpdateResponse setMessage(String value) { this.message = value; return this; } public Integer getUpdatedId() { return updatedId; } public DocumentPolicyUpdateResponse setUpdatedId(Integer value) { this.updatedId = value; return this; } } public static class UpdateDocumentPolicyModel { public Integer id = null; public String policyCode = null; public String title = null; public String documentLink = null; public Integer documentGroupId = null; public String description = null; public Integer approvedBy = null; @Required() public Integer departmentLeadId = null; public Integer departmentCoId = null; public Integer getId() { return id; } public UpdateDocumentPolicyModel setId(Integer value) { this.id = value; return this; } public String getPolicyCode() { return policyCode; } public UpdateDocumentPolicyModel setPolicyCode(String value) { this.policyCode = value; return this; } public String getTitle() { return title; } public UpdateDocumentPolicyModel setTitle(String value) { this.title = value; return this; } public String getDocumentLink() { return documentLink; } public UpdateDocumentPolicyModel setDocumentLink(String value) { this.documentLink = value; return this; } public Integer getDocumentGroupId() { return documentGroupId; } public UpdateDocumentPolicyModel setDocumentGroupId(Integer value) { this.documentGroupId = value; return this; } public String getDescription() { return description; } public UpdateDocumentPolicyModel setDescription(String value) { this.description = value; return this; } public Integer getApprovedBy() { return approvedBy; } public UpdateDocumentPolicyModel setApprovedBy(Integer value) { this.approvedBy = value; return this; } public Integer getDepartmentLeadId() { return departmentLeadId; } public UpdateDocumentPolicyModel setDepartmentLeadId(Integer value) { this.departmentLeadId = value; return this; } public Integer getDepartmentCoId() { return departmentCoId; } public UpdateDocumentPolicyModel setDepartmentCoId(Integer value) { this.departmentCoId = value; return this; } } public static interface IResponseRequest { public Integer code = null; public String message = null; } }