/* Options: Date: 2025-08-04 04:16:06 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseTenderUserByAdmin.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IConcurrencyStamp { String? ConcurrencyStamp; } class TenderUserStatus { static const TenderUserStatus FirstRound = const TenderUserStatus._(0); static const TenderUserStatus SecondRound = const TenderUserStatus._(1); static const TenderUserStatus ThirdRound = const TenderUserStatus._(2); static const TenderUserStatus Successful = const TenderUserStatus._(3); static const TenderUserStatus UnSuccessful = const TenderUserStatus._(4); final int _value; const TenderUserStatus._(this._value); int get value => _value; static List get values => const [FirstRound,SecondRound,ThirdRound,Successful,UnSuccessful]; } abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } abstract class ModifyRequestBase implements IConcurrencyStamp { String? ConcurrencyStamp; ModifyRequestBase({this.ConcurrencyStamp}); ModifyRequestBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConcurrencyStamp = json['ConcurrencyStamp']; return this; } Map toJson() => { 'ConcurrencyStamp': ConcurrencyStamp }; getTypeName() => "ModifyRequestBase"; TypeContext? context = _ctx; } class TenderRoundSimple implements IConvertible { int? Id; String? Name; bool? IsQuestionEnabled; DateTime? QuestionDeadline; DateTime? AnswerDeadline; DateTime? SubmissionDeadline; bool? IsSupplementaryEnabled; DateTime? SupplementaryRequestDeadline; DateTime? SupplementaryDeadline; DateTime? AnnouncementDateTime; int? Status; TenderRoundSimple({this.Id,this.Name,this.IsQuestionEnabled,this.QuestionDeadline,this.AnswerDeadline,this.SubmissionDeadline,this.IsSupplementaryEnabled,this.SupplementaryRequestDeadline,this.SupplementaryDeadline,this.AnnouncementDateTime,this.Status}); TenderRoundSimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; IsQuestionEnabled = json['IsQuestionEnabled']; QuestionDeadline = JsonConverters.fromJson(json['QuestionDeadline'],'DateTime',context!); AnswerDeadline = JsonConverters.fromJson(json['AnswerDeadline'],'DateTime',context!); SubmissionDeadline = JsonConverters.fromJson(json['SubmissionDeadline'],'DateTime',context!); IsSupplementaryEnabled = json['IsSupplementaryEnabled']; SupplementaryRequestDeadline = JsonConverters.fromJson(json['SupplementaryRequestDeadline'],'DateTime',context!); SupplementaryDeadline = JsonConverters.fromJson(json['SupplementaryDeadline'],'DateTime',context!); AnnouncementDateTime = JsonConverters.fromJson(json['AnnouncementDateTime'],'DateTime',context!); Status = json['Status']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'IsQuestionEnabled': IsQuestionEnabled, 'QuestionDeadline': JsonConverters.toJson(QuestionDeadline,'DateTime',context!), 'AnswerDeadline': JsonConverters.toJson(AnswerDeadline,'DateTime',context!), 'SubmissionDeadline': JsonConverters.toJson(SubmissionDeadline,'DateTime',context!), 'IsSupplementaryEnabled': IsSupplementaryEnabled, 'SupplementaryRequestDeadline': JsonConverters.toJson(SupplementaryRequestDeadline,'DateTime',context!), 'SupplementaryDeadline': JsonConverters.toJson(SupplementaryDeadline,'DateTime',context!), 'AnnouncementDateTime': JsonConverters.toJson(AnnouncementDateTime,'DateTime',context!), 'Status': Status }; getTypeName() => "TenderRoundSimple"; TypeContext? context = _ctx; } class TenderUserDetails implements IConvertible { int? Id; int? TenderId; int? UserId; int? ComplianceId; int? ProcurementId; TenderUserStatus? Status; Map? Meta; List? TenderUserTenderRounds; TenderUserDetails({this.Id,this.TenderId,this.UserId,this.ComplianceId,this.ProcurementId,this.Status,this.Meta,this.TenderUserTenderRounds}); TenderUserDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenderId = json['TenderId']; UserId = json['UserId']; ComplianceId = json['ComplianceId']; ProcurementId = json['ProcurementId']; Status = JsonConverters.fromJson(json['Status'],'TenderUserStatus',context!); Meta = JsonConverters.toStringMap(json['Meta']); TenderUserTenderRounds = JsonConverters.fromJson(json['TenderUserTenderRounds'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'TenderId': TenderId, 'UserId': UserId, 'ComplianceId': ComplianceId, 'ProcurementId': ProcurementId, 'Status': JsonConverters.toJson(Status,'TenderUserStatus',context!), 'Meta': Meta, 'TenderUserTenderRounds': JsonConverters.toJson(TenderUserTenderRounds,'List',context!) }; getTypeName() => "TenderUserDetails"; TypeContext? context = _ctx; } class SupplementarySimple implements IConvertible { int? Id; int? TenderUserTenderRoundId; bool? IsViewed; DateTime? ViewingDateTime; bool? IsSubmitted; DateTime? SubmissionDateTime; SupplementarySimple({this.Id,this.TenderUserTenderRoundId,this.IsViewed,this.ViewingDateTime,this.IsSubmitted,this.SubmissionDateTime}); SupplementarySimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; TenderUserTenderRoundId = json['TenderUserTenderRoundId']; IsViewed = json['IsViewed']; ViewingDateTime = JsonConverters.fromJson(json['ViewingDateTime'],'DateTime',context!); IsSubmitted = json['IsSubmitted']; SubmissionDateTime = JsonConverters.fromJson(json['SubmissionDateTime'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'TenderUserTenderRoundId': TenderUserTenderRoundId, 'IsViewed': IsViewed, 'ViewingDateTime': JsonConverters.toJson(ViewingDateTime,'DateTime',context!), 'IsSubmitted': IsSubmitted, 'SubmissionDateTime': JsonConverters.toJson(SubmissionDateTime,'DateTime',context!) }; getTypeName() => "SupplementarySimple"; TypeContext? context = _ctx; } class TenderUserTenderRoundDetails extends ModifyRequestBase implements IConvertible { int? Id; int? TenderUserId; int? TenderRoundId; int? SubmittedById; DateTime? SubmissionDateTime; bool? IsSubmitted; int? CurrencyId; double? Bid; TenderRoundSimple? TenderRound; TenderUserDetails? TenderUser; SupplementarySimple? Supplementary; TenderUserTenderRoundDetails({this.Id,this.TenderUserId,this.TenderRoundId,this.SubmittedById,this.SubmissionDateTime,this.IsSubmitted,this.CurrencyId,this.Bid,this.TenderRound,this.TenderUser,this.Supplementary}); TenderUserTenderRoundDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; TenderUserId = json['TenderUserId']; TenderRoundId = json['TenderRoundId']; SubmittedById = json['SubmittedById']; SubmissionDateTime = JsonConverters.fromJson(json['SubmissionDateTime'],'DateTime',context!); IsSubmitted = json['IsSubmitted']; CurrencyId = json['CurrencyId']; Bid = JsonConverters.toDouble(json['Bid']); TenderRound = JsonConverters.fromJson(json['TenderRound'],'TenderRoundSimple',context!); TenderUser = JsonConverters.fromJson(json['TenderUser'],'TenderUserDetails',context!); Supplementary = JsonConverters.fromJson(json['Supplementary'],'SupplementarySimple',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'TenderUserId': TenderUserId, 'TenderRoundId': TenderRoundId, 'SubmittedById': SubmittedById, 'SubmissionDateTime': JsonConverters.toJson(SubmissionDateTime,'DateTime',context!), 'IsSubmitted': IsSubmitted, 'CurrencyId': CurrencyId, 'Bid': Bid, 'TenderRound': JsonConverters.toJson(TenderRound,'TenderRoundSimple',context!), 'TenderUser': JsonConverters.toJson(TenderUser,'TenderUserDetails',context!), 'Supplementary': JsonConverters.toJson(Supplementary,'SupplementarySimple',context!) }); getTypeName() => "TenderUserTenderRoundDetails"; TypeContext? context = _ctx; } class BrowseTenderUserResponse extends ResponseBase implements IConvertible { TenderUserDetails? TenderUser; BrowseTenderUserResponse({this.TenderUser}); BrowseTenderUserResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderUser = JsonConverters.fromJson(json['TenderUser'],'TenderUserDetails',context!); return this; } Map toJson() => super.toJson()..addAll({ 'TenderUser': JsonConverters.toJson(TenderUser,'TenderUserDetails',context!) }); getTypeName() => "BrowseTenderUserResponse"; TypeContext? context = _ctx; } // @Route("/tenderuser/{tenderuserid}", "GET") class BrowseTenderUserByAdmin implements IReturn, IGet, IConvertible { int? TenderUserId; BrowseTenderUserByAdmin({this.TenderUserId}); BrowseTenderUserByAdmin.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TenderUserId = json['TenderUserId']; return this; } Map toJson() => { 'TenderUserId': TenderUserId }; createResponse() => BrowseTenderUserResponse(); getResponseTypeName() => "BrowseTenderUserResponse"; getTypeName() => "BrowseTenderUserByAdmin"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'TenderUserStatus': TypeInfo(TypeOf.Enum, enumValues:TenderUserStatus.values), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'TenderRoundSimple': TypeInfo(TypeOf.Class, create:() => TenderRoundSimple()), 'TenderUserDetails': TypeInfo(TypeOf.Class, create:() => TenderUserDetails()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'TenderUserTenderRoundDetails': TypeInfo(TypeOf.Class, create:() => TenderUserTenderRoundDetails()), 'SupplementarySimple': TypeInfo(TypeOf.Class, create:() => SupplementarySimple()), 'BrowseTenderUserResponse': TypeInfo(TypeOf.Class, create:() => BrowseTenderUserResponse()), 'BrowseTenderUserByAdmin': TypeInfo(TypeOf.Class, create:() => BrowseTenderUserByAdmin()), });