' Options: 'Date: 2025-12-06 13:09:33 'Version: 6.110 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://etc-api.vsmlab.vn ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: StatDocByTypeRequest.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports ServiceStack.Web Imports System.IO Imports tvpl.data.Constant Imports tvpl.api.ServiceModel Imports tvpl.data.Models Namespace Global Namespace tvpl.api.ServiceModel Public Interface IResponseRequest Property Code As Integer Property Message As String End Interface Public Partial Class SearchResponse Implements IResponseRequest Public Sub New() Data = New List(Of DocumentSearchResultItem) End Sub Public Overridable Property TotalCount As Long Public Overridable Property Code As Integer Public Overridable Property Data As List(Of DocumentSearchResultItem) Public Overridable Property Message As String End Class Public Partial Class SimpleSearchFilter Public Overridable Property Title As String Public Overridable Property GroupId As Nullable(Of Integer) Public Overridable Property SubjectId As Nullable(Of Integer) Public Overridable Property IsUrgent As Nullable(Of Boolean) Public Overridable Property DocumentSearchStage As DocumentSearchStage Public Overridable Property IsInternal As Nullable(Of Boolean) Public Overridable Property FromDate As Nullable(Of Date) Public Overridable Property ToDate As Nullable(Of Date) Public Overridable Property TypeId As Nullable(Of Integer) Public Overridable Property StatusId As Nullable(Of Integer) Public Overridable Property IssuingAgencyId As Nullable(Of Integer) Public Overridable Property IsParty As Nullable(Of Boolean) End Class Public Partial Class StatDocByTypeRequest Inherits SimpleSearchFilter Implements IReturn(Of SearchResponse) Implements IPost End Class End Namespace Namespace tvpl.data.Constant Public Enum DocumentSearchStage All AllProcessing Draft PendingApproval IsRevisionRequested PendingCompilation PendingReport Published Active InActive End Enum End Namespace Namespace tvpl.data.Models Public Partial Class DocumentSearchResultItem Public Overridable Property Title As String Public Overridable Property Description As String Public Overridable Property Owner As String Public Overridable Property DocumentPolicyId As Nullable(Of Integer) Public Overridable Property UpdateDocumentId As Nullable(Of Integer) Public Overridable Property EffectBeginDate As Nullable(Of Date) Public Overridable Property EffectEndDate As Nullable(Of Date) Public Overridable Property IssuingAgencyId As Nullable(Of Integer) Public Overridable Property SubjectId As Nullable(Of Integer) Public Overridable Property SignBy As String Public Overridable Property SignDate As Nullable(Of Date) Public Overridable Property UpdatedAt As Nullable(Of Date) Public Overridable Property StatusId As Nullable(Of Integer) Public Overridable Property IsInternal As Boolean Public Overridable Property DocumentNumber As String Public Overridable Property DocumentCode As String Public Overridable Property IsUrgent As Nullable(Of Boolean) Public Overridable Property Id As Integer Public Overridable Property ReasonReturn As String Public Overridable Property AccountId As Nullable(Of Integer) Public Overridable Property ApproverId As Nullable(Of Integer) Public Overridable Property UpdatedBy As String Public Overridable Property CreatedBy As String Public Overridable Property IsParty As Nullable(Of Boolean) Public Overridable Property IsRevisionRequested As Nullable(Of Boolean) Public Overridable Property IsPrivate As Nullable(Of Boolean) Public Overridable Property DepartmentId As Nullable(Of Integer) Public Overridable Property PublicationDate As Nullable(Of Date) Public Overridable Property ProcessStatusId As Integer Public Overridable Property DocumentTypeId As Nullable(Of Integer) Public Overridable Property DocumentGroupId As Nullable(Of Integer) Public Overridable Property AccountName As String Public Overridable Property AcceptAccountName As String Public Overridable Property DocumentGroupText As String Public Overridable Property ProcessStatusText As String Public Overridable Property DocumentTypeText As String Public Overridable Property DepartmentText As String Public Overridable Property StatusText As String Public Overridable Property IssuingAgencyText As String Public Overridable Property SubjectText As String Public Overridable Property Comment As String Public Overridable Property SubmitComment As String Public Overridable Property FullFile As String Public Overridable Property ParthFile As String Public Overridable Property IsActive As Nullable(Of Boolean) Public Overridable Property StepOrder As Nullable(Of Integer) Public Overridable Property StepCount As Nullable(Of Integer) End Class End Namespace End Namespace