' Options: 'Date: 2025-12-06 13:10:07 '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 AccessType Public Restricted End Enum Public Enum CategoryTypes Department PartyGroup DocGroup DocType IssuingAgency Status Subjects Workflow End Enum End Namespace Namespace tvpl.data.Models 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 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 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 WorkFlowProfile 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 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) End Class Public Partial Class WorkflowStep Public Sub New() DepartmentIds = New List(Of Integer) StepBasisDocumentIds = New List(Of Integer) StepAttachedIds = New List(Of Integer) MainAssigneeIds = New List(Of Integer) 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 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 Description As String Public Overridable Property CreatedBy As Integer Public Overridable Property DepartmentIds As List(Of Integer) Public Overridable Property StepBasisDocumentIds As List(Of Integer) Public Overridable Property StepAttachedIds As List(Of Integer) Public Overridable Property MainAssigneeIds As List(Of Integer) End Class Public Partial Class WorkflowStepDetail Inherits WorkflowStep Public Sub New() Departments = New List(Of Category) BasisDocuments = New List(Of SimpleDocumentRelation) AttachedDocuments = New List(Of SimpleDocumentRelation) ReferenceDocuments = New List(Of SimpleDocumentRelation) MainAssignees = New List(Of WorkFlowProfile) AttachFiles = New List(Of UploadedFileAttach) End Sub Public Overridable Property Departments As List(Of Category) Public Overridable Property BasisDocuments As List(Of SimpleDocumentRelation) Public Overridable Property AttachedDocuments As List(Of SimpleDocumentRelation) Public Overridable Property ReferenceDocuments As List(Of SimpleDocumentRelation) Public Overridable Property MainAssignees As List(Of WorkFlowProfile) Public Overridable Property AttachFiles As List(Of UploadedFileAttach) End Class End Namespace End Namespace