/* Options: Date: 2026-03-21 12:37:26 SwiftVersion: 5.0 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: UpdateStepStatusRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/WorkflowStep/status", "Post") public class UpdateStepStatusRequest : IReturn, Codable { public typealias Return = WorkflowStepResponse public var stepId:Int public var statusKey:CategoryStatusKeys public var comment:String required public init(){} } public class WorkflowStepResponse : IResponseRequest, Codable { public var code:Int public var message:String public var insertedId:Int required public init(){} } public enum CategoryStatusKeys : String, Codable { case WorkCreated case WorkInProgress case WorkReturned case WorkCompleted case WorkCancelled case WorkDone case StepNotStarted case StepInProgress case StepDone case StepCompleted case StepSkipped case StepReturned case NotSigned case SignatureReturned case SignaturePending case DocExpired case DocPartiallyEx } public protocol IResponseRequest { var code:Int { get set } var message:String { get set } }