' Options: 'Date: 2025-12-06 13:04:26 '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: UpdateDocumentRequest.* '''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.api.ServiceModel Imports tvpl.data.Models Imports tvpl.data.Constant Namespace Global Namespace tvpl.api.ServiceModel Public Partial Class DocumentDetailResponse Implements IResponseRequest Public Overridable Property Data As DocumentDetail Public Overridable Property Code As Integer Public Overridable Property Message As String End Class Public Interface IResponseRequest Property Code As Integer Property Message As String End Interface Public Partial Class UpdateDocumentRequest Inherits BasicDocument Implements IReturn(Of DocumentDetailResponse) Public Sub New() AttachFiles = New List(Of UploadedFiles) BasisDocumentId = New List(Of Integer) ReferenceDocumentId = New List(Of Integer) ReplacedDocumentId = New List(Of Integer) ExpiredDocumentId = New List(Of Integer) End Sub Public Overridable Property PartUploadedFile As UploadedFiles Public Overridable Property CompactUploadedFile As UploadedFiles Public Overridable Property AnalysisUploadedFile As UploadedFiles Public Overridable Property FullUploadedFile As UploadedFiles Public Overridable Property AttachFiles As List(Of UploadedFiles) Public Overridable Property BasisDocumentId As List(Of Integer) Public Overridable Property ReferenceDocumentId As List(Of Integer) Public Overridable Property ReplacedDocumentId As List(Of Integer) Public Overridable Property ExpiredDocumentId As List(Of Integer) Public Overridable Property Id As Integer End Class Public Partial Class UploadedFiles Inherits BasicUploadedFile Public Overridable Property Id As Nullable(Of Long) Public Overridable Property UploadedFile As String Public Overridable Property SubDocumentId As Nullable(Of Integer) Public Overridable Property StepId As Nullable(Of Integer) Public Overridable Property Code As Integer End Class End Namespace Namespace tvpl.data.Constant Public Enum AccessType Public Restricted End Enum End Namespace Namespace tvpl.data.Models Public Partial Class ApproversProfile Public Sub New() UserProfiles = New List(Of UserProfile) End Sub Public Overridable Property UserProfiles As List(Of UserProfile) Public Overridable Property ProcessStatusId As Integer Public Overridable Property ProcessTitle As String Public Overridable Property ActionButtonLabel As String Public Overridable Property ProcessDescription As String Public Overridable Property IsApprovalRequired As Boolean Public Overridable Property IsFinalStep As Boolean Public Overridable Property StepOrder As Integer End Class Public Partial Class BasicDocument 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 DocumentTypeId As Nullable(Of Integer) Public Overridable Property DocumentGroupId 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 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 ScopeType As Nullable(Of Integer) Public Overridable Property IsActive As Nullable(Of Boolean) End Class Public Partial Class BasicUploadedFile Public Overridable Property FileName As String Public Overridable Property Filekey As String Public Overridable Property FileUrl As String Public Overridable Property Checksum As String Public Overridable Property ETag As String Public Overridable Property FileSize As Long End Class Public Partial Class CurrentApprover Public Overridable Property ApproverId As Nullable(Of Integer) Public Overridable Property Status As String Public Overridable Property ProcessStatusId As Integer Public Overridable Property ProcessTitle As String Public Overridable Property ActionButtonLabel As String Public Overridable Property ProcessDescription As String Public Overridable Property IsApprovalRequired As Boolean Public Overridable Property IsFinalStep As Boolean Public Overridable Property StepOrder As Integer End Class Public Partial Class DocumentDetail Inherits DocumentSearchResultItem Public Sub New() AttachFiles = New List(Of UploadedFileAttach) BasisDocument = New List(Of SimpleDocumentRelation) BasisForDocument = New List(Of SimpleDocumentRelation) ReferenceDocument = New List(Of SimpleDocumentRelation) ReferencedByDocument = New List(Of SimpleDocumentRelation) ReplacedDocument = New List(Of SimpleDocumentRelation) ReplacedByDocument = New List(Of SimpleDocumentRelation) ExpiredDocument = New List(Of SimpleDocumentRelation) ExpiredByDocument = New List(Of SimpleDocumentRelation) End Sub Public Overridable Property PartUploadedFile As UploadedFileAttach Public Overridable Property CompactUploadedFile As UploadedFileAttach Public Overridable Property AnalysisUploadedFile As UploadedFileAttach Public Overridable Property FullUploadedFile As UploadedFileAttach Public Overridable Property CreatedAt As Date Public Overridable Property NextApprover As ApproversProfile Public Overridable Property CurrentApprover As CurrentApprover Public Overridable Property AttachFiles As List(Of UploadedFileAttach) Public Overridable Property HasReadPermission As Boolean Public Overridable Property CanGrantReadPermission As Boolean Public Overridable Property BasisDocument As List(Of SimpleDocumentRelation) Public Overridable Property BasisForDocument As List(Of SimpleDocumentRelation) Public Overridable Property MainDocument As SimpleDocumentRelation Public Overridable Property ReferenceDocument As List(Of SimpleDocumentRelation) Public Overridable Property ReferencedByDocument As List(Of SimpleDocumentRelation) Public Overridable Property ReplacedDocument As List(Of SimpleDocumentRelation) Public Overridable Property ReplacedByDocument As List(Of SimpleDocumentRelation) Public Overridable Property ExpiredDocument As List(Of SimpleDocumentRelation) Public Overridable Property ExpiredByDocument As List(Of SimpleDocumentRelation) Public Overridable Property UpdateForDocument As SimpleDocumentRelation Public Overridable Property ScopeType As Nullable(Of Integer) Public Overridable Property StepOrder As Integer End Class 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 Public Partial Class SimpleDocumentRelation Public Overridable Property Id As Integer Public Overridable Property Title As String Public Overridable Property DocumentCode As String Public Overridable Property PublicationDate As Nullable(Of Date) End Class Public Partial Class UploadedFileAttach Inherits UploadedFileModel Public Overridable Property FileType As String Public Overridable Property SubDocumentId As Nullable(Of Integer) Public Overridable Property StepId As Nullable(Of Integer) End Class Public Partial Class UploadedFileModel Inherits BasicUploadedFile Public Overridable Property Id As Long Public Overridable Property AccessType As AccessType Public Overridable Property CreatedBy As Integer Public Overridable Property CreatedDate As Date End Class Public Partial Class UserLogin Public Overridable Property Name As String End Class Public Partial Class UserProfile Inherits UserLogin Public Sub New() Roles = New List(Of Integer) End Sub Public Overridable Property Id As Integer Public Overridable Property FullName As String Public Overridable Property Email As String Public Overridable Property DepartmentId As Nullable(Of Integer) Public Overridable Property PartyGroupId As Nullable(Of Integer) Public Overridable Property Avatar As String Public Overridable Property Telephone As String Public Overridable Property Birthday As Nullable(Of Date) Public Overridable Property CreatedAt As Nullable(Of Date) Public Overridable Property UpdatedAt As Nullable(Of Date) Public Overridable Property FailedLoginCount As Integer Public Overridable Property Roles As List(Of Integer) Public Overridable Property LastLoginDate As Nullable(Of Date) End Class End Namespace End Namespace