/* Options: Date: 2025-12-06 13:20:10 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: CreateDocumentRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * Tạo văn bản */ @Route(Path="/document/create", Verbs="POST") public static class CreateDocumentRequest implements IReturn { public String title = null; public String documentCode = null; public String description = null; public Integer documentPolicyId = null; public Integer mainId = null; public Integer scopeType = null; public String getTitle() { return title; } public CreateDocumentRequest setTitle(String value) { this.title = value; return this; } public String getDocumentCode() { return documentCode; } public CreateDocumentRequest setDocumentCode(String value) { this.documentCode = value; return this; } public String getDescription() { return description; } public CreateDocumentRequest setDescription(String value) { this.description = value; return this; } public Integer getDocumentPolicyId() { return documentPolicyId; } public CreateDocumentRequest setDocumentPolicyId(Integer value) { this.documentPolicyId = value; return this; } public Integer getMainId() { return mainId; } public CreateDocumentRequest setMainId(Integer value) { this.mainId = value; return this; } public Integer getScopeType() { return scopeType; } public CreateDocumentRequest setScopeType(Integer value) { this.scopeType = value; return this; } private static Object responseType = CreateDocumentResponse.class; public Object getResponseType() { return responseType; } } public static class CreateDocumentResponse implements IResponseRequest { public Long id = null; public Integer code = null; public String message = null; public Long getId() { return id; } public CreateDocumentResponse setId(Long value) { this.id = value; return this; } public Integer getCode() { return code; } public CreateDocumentResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public CreateDocumentResponse setMessage(String value) { this.message = value; return this; } } public static interface IResponseRequest { public Integer code = null; public String message = null; } }