' Options: 'Date: 2026-02-04 10:28:53 '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: GetWorkflowStepRequest.* '''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.data.Models Imports tvpl.api.ServiceModel Namespace Global Namespace tvpl.api.ServiceModel Public Partial Class GetWorkflowStepRequest Implements IReturn(Of GetWorkflowStepResponse) Public Overridable Property WorkflowId As Integer End Class Public Partial Class GetWorkflowStepResponse Implements IResponseRequest Public Sub New() Data = New List(Of WorkflowStepDetail) End Sub Public Overridable Property Code As Integer Public Overridable Property Message As String Public Overridable Property Data As List(Of WorkflowStepDetail) End Class Public Interface IResponseRequest Property Code As Integer Property Message As String End Interface End Namespace Namespace tvpl.data.Constant Public Enum CategoryTypes Department PartyGroup DocGroup DocType IssuingAgency Status Subjects Workflow WorkStatus StepStatus SignStatus End Enum End Namespace Namespace tvpl.data.Models 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 BasicSignerConfig Public Overridable Property SubDocumentId As Nullable(Of Integer) Public Overridable Property DepartmentId As Nullable(Of Integer) Public Overridable Property SignerType As Byte Public Overridable Property SignerRefId As Integer Public Overridable Property SignerRefText As String Public Overridable Property ActionType As Byte Public Overridable Property OrderIndex As Integer 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 Category Inherits CreateCategoryModel Public Sub New() Children = New List(Of Category) End Sub Public Overridable Property Id As Integer Public Overridable Property Level As Integer Public Overridable Property Key As String Public Overridable Property SortOrder As Integer Public Overridable Property LastUpdate As Nullable(Of Date) Public Overridable Property Children As List(Of Category) End Class Public Partial Class CreateCategoryModel Public Sub New() ChildList = New List(Of Integer) End Sub Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Type As CategoryTypes Public Overridable Property IsParty As Boolean Public Overridable Property ChildList As List(Of Integer) End Class Public Partial Class Document Inherits BasicDocument Public Overridable Property Id As Integer Public Overridable Property ReasonReturn As String Public Overridable Property AccountId As Nullable(Of Integer) Public Overridable Property DeletedAt As Nullable(Of Date) Public Overridable Property DeletedBy As String Public Overridable Property UpdatedBy As String Public Overridable Property CreatedAt As Nullable(Of Date) Public Overridable Property CreatedBy As String Public Overridable Property IsParty As Nullable(Of Boolean) Public Overridable Property IsRevisionRequested As Boolean Public Overridable Property LastUpdatedAt As Nullable(Of Date) 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 Nullable(Of Integer) Public Overridable Property FullTextSearchContent As String End Class Public Partial Class Roles Public Sub New() Permission = New List(Of String) End Sub Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property CreatedAt As Nullable(Of Date) Public Overridable Property DeletedAt As Nullable(Of Date) Public Overridable Property UpdatedAt As Nullable(Of Date) Public Overridable Property UpdatedBy As Nullable(Of Integer) Public Overridable Property DeletedBy As Nullable(Of Integer) Public Overridable Property CreatedBy As Nullable(Of Integer) Public Overridable Property Permission As List(Of String) End Class Public Partial Class SignerConfig Inherits BasicSignerConfig Public Overridable Property Id As Integer Public Overridable Property DocumentId As Integer Public Overridable Property StepId As Nullable(Of Integer) End Class Public Partial Class SignerConfigDetail Inherits SignerConfig Public Overridable Property Profile As WorkFlowProfile Public Overridable Property Role As Roles 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) Public Overridable Property IsSequentialSigning As Nullable(Of Boolean) Public Overridable Property StatusText As String Public Overridable Property DocumentTypeId As Nullable(Of Integer) End Class Public Partial Class StepAttached Public Sub New() SignerConfigs = New List(Of SignerConfigDetail) End Sub Public Overridable Property Id As Integer Public Overridable Property DocumentCode As String Public Overridable Property Title As String Public Overridable Property IsSequentialSigning As Nullable(Of Boolean) Public Overridable Property PendingSignFile As UploadedFiles Public Overridable Property OriginalFile As UploadedFiles Public Overridable Property SignerConfigs As List(Of SignerConfigDetail) 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 Public Partial Class WorkFlowProfile Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property FullName As String Public Overridable Property Email As String Public Overridable Property DepartmentId 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 ConfirmStatus As Nullable(Of Integer) Public Overridable Property ConfirmStatusText As String Public Overridable Property SignAt As Nullable(Of Date) Public Overridable Property SignedFileId As Nullable(Of Long) Public Overridable Property OriginalFileId As Nullable(Of Integer) Public Overridable Property SignedFileName As String Public Overridable Property IsSigned As Boolean Public Overridable Property SignStatusText As String End Class Public Partial Class WorkflowStep Public Sub New() DepartmentIds = New List(Of Integer) MainAssigneeIds = New List(Of Integer) CoDepartmentIds = New List(Of Integer) SupportingAssigneeIds = New List(Of Integer) StepBasisDocumentIds = New List(Of Integer) AttachedDocuments = New List(Of StepAttached) End Sub Public Overridable Property Id As Integer Public Overridable Property WorkflowId As Integer Public Overridable Property StepOrder As Nullable(Of Integer) Public Overridable Property StatusId As Nullable(Of Integer) Public Overridable Property StepName As String Public Overridable Property IsRequired As Boolean Public Overridable Property SLALegalValue As Nullable(Of Integer) Public Overridable Property SLALegalIsByDay As Nullable(Of Boolean) Public Overridable Property SLAInternalValue As Nullable(Of Integer) Public Overridable Property SLAInternalIsByDay As Nullable(Of Boolean) Public Overridable Property RequireAttachment As Boolean Public Overridable Property IsUsingForm As Nullable(Of Boolean) Public Overridable Property Description As String Public Overridable Property CreatedBy As Integer Public Overridable Property DepartmentIds As List(Of Integer) Public Overridable Property MainAssigneeIds As List(Of Integer) Public Overridable Property CoDepartmentIds As List(Of Integer) Public Overridable Property SupportingAssigneeIds As List(Of Integer) Public Overridable Property StepBasisDocumentIds As List(Of Integer) Public Overridable Property AttachedDocuments As List(Of StepAttached) End Class Public Partial Class WorkflowStepDetail Inherits WorkflowStep Public Sub New() Departments = New List(Of Category) CoDepartments = New List(Of Category) BasisDocuments = New List(Of SimpleDocumentRelation) ReferenceDocuments = New List(Of SimpleDocumentRelation) MainAssignees = New List(Of WorkFlowProfile) SupportingAssignees = New List(Of WorkFlowProfile) End Sub Public Overridable Property Departments As List(Of Category) Public Overridable Property CoDepartments As List(Of Category) Public Overridable Property BasisDocuments As List(Of SimpleDocumentRelation) Public Overridable Property ReferenceDocuments As List(Of SimpleDocumentRelation) Public Overridable Property MainAssignees As List(Of WorkFlowProfile) Public Overridable Property SupportingAssignees As List(Of WorkFlowProfile) Public Overridable Property StatusKey As String Public Overridable Property StatusText As String Public Overridable Property CanRead As Nullable(Of Boolean) Public Overridable Property CanWrite As Nullable(Of Boolean) Public Overridable Property CanUpload As Nullable(Of Boolean) Public Overridable Property ReasonReturn As String Public Overridable Property ReturnDate As Nullable(Of Date) End Class End Namespace End Namespace