/* Options: Date: 2026-06-28 01:10:48 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLegalApprovalConfigRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IResponseRequest { int? code; String? message; } class StampClerkOption implements IConvertible { int? id; String? fullName; String? departmentName; StampClerkOption({this.id,this.fullName,this.departmentName}); StampClerkOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; fullName = json['fullName']; departmentName = json['departmentName']; return this; } Map toJson() => { 'id': id, 'fullName': fullName, 'departmentName': departmentName }; getTypeName() => "StampClerkOption"; TypeContext? context = _ctx; } class GetLegalApprovalConfigResponse implements IResponseRequest, IConvertible { int? code; String? message; bool? enabled; List? approvers; GetLegalApprovalConfigResponse({this.code,this.message,this.enabled,this.approvers}); GetLegalApprovalConfigResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; message = json['message']; enabled = json['enabled']; approvers = JsonConverters.fromJson(json['approvers'],'List',context!); return this; } Map toJson() => { 'code': code, 'message': message, 'enabled': enabled, 'approvers': JsonConverters.toJson(approvers,'List',context!) }; getTypeName() => "GetLegalApprovalConfigResponse"; TypeContext? context = _ctx; } // @Route("/WorkflowStep/legal-approval-config", "Get") class GetLegalApprovalConfigRequest implements IReturn, IConvertible, IGet { int? workflowId; GetLegalApprovalConfigRequest({this.workflowId}); GetLegalApprovalConfigRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { workflowId = json['workflowId']; return this; } Map toJson() => { 'workflowId': workflowId }; createResponse() => GetLegalApprovalConfigResponse(); getResponseTypeName() => "GetLegalApprovalConfigResponse"; getTypeName() => "GetLegalApprovalConfigRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'IResponseRequest': TypeInfo(TypeOf.Interface), 'StampClerkOption': TypeInfo(TypeOf.Class, create:() => StampClerkOption()), 'GetLegalApprovalConfigResponse': TypeInfo(TypeOf.Class, create:() => GetLegalApprovalConfigResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetLegalApprovalConfigRequest': TypeInfo(TypeOf.Class, create:() => GetLegalApprovalConfigRequest()), });