/* Options: Date: 2025-08-04 04:14:39 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: AddProcurement.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IConcurrencyStamp { String? ConcurrencyStamp; } 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; } abstract class ModifyProcurementBase extends ModifyRequestBase { bool? IsGroupMember; String? GroupName; String? GroupShortName; int? CountryId; String? VatNumber; String? RegistrationNumber; String? Duns; String? Address; String? MainActivity; DateTime? EstablishedDate; int? Workforce; String? Website; String? SalesManagerName; String? SalesManagerPhone; String? SalesManagerEmail; String? CsrManagerName; String? CsrManagerPhone; String? CsrManagerEmail; int? AccountCountryId; String? BankName; String? AccountNumber; String? Iban; String? Swift; int? CurrencyId; int? WorkForceN1; int? WorkForceN2; int? WorkForceN3; int? SubscribedCapital; int? SubscribedCapitalCurrencyId; int? RevenueN1; int? RevenueN2; int? RevenueN3; int? NetProfitN1; int? NetProfitN2; int? NetProfitN3; int? EquityN1; int? EquityN2; int? EquityN3; int? LiabilityN1; int? LiabilityN2; int? LiabilityN3; int? OperatingResultN1; int? OperatingResultN2; int? OperatingResultN3; String? DBFailureScore; bool? IsAuditedAccount; String? IsAuditedAccountComment; bool? IsLiquidationProceedings; String? IsLiquidationProceedingsComment; double? VeoliaAnnualRevenuesProportion; bool? IsAntiCorruptionDocument; bool? IsCorruptionRiskMap; bool? IsThirdPartiesEvaluatingSystem; bool? IsInternalRules; bool? IsHumanRights; bool? IsAntiCorruptionTraining; bool? IsAntiCorruptionReportSystem; bool? IsIso9001; bool? IsEcoVadisScorecard; int? EcoVadisTotalScore; bool? IsReduceEmployeeSafetyRisk; bool? IsPromoteSocialIntegration; bool? IsNondiscriminationPolicy; bool? IsIso14001; bool? IsIdentifiedMajorEnvironmentalImpacts; bool? IsUseWaterResources; bool? IsConsumptionOfRawMaterials; bool? IsEnergyConsumption; bool? IsGreenhouseGasEmissions; bool? IsAtmosphericEmissions; bool? IsAqueousPollution; bool? IsWasteGeneration; bool? IsNaturalAreasPollution; bool? IsPrivacyStatement; bool? IsVeoliaSupplierCharter; bool? IsVeoliaCoreStandards; ModifyProcurementBase({this.IsGroupMember,this.GroupName,this.GroupShortName,this.CountryId,this.VatNumber,this.RegistrationNumber,this.Duns,this.Address,this.MainActivity,this.EstablishedDate,this.Workforce,this.Website,this.SalesManagerName,this.SalesManagerPhone,this.SalesManagerEmail,this.CsrManagerName,this.CsrManagerPhone,this.CsrManagerEmail,this.AccountCountryId,this.BankName,this.AccountNumber,this.Iban,this.Swift,this.CurrencyId,this.WorkForceN1,this.WorkForceN2,this.WorkForceN3,this.SubscribedCapital,this.SubscribedCapitalCurrencyId,this.RevenueN1,this.RevenueN2,this.RevenueN3,this.NetProfitN1,this.NetProfitN2,this.NetProfitN3,this.EquityN1,this.EquityN2,this.EquityN3,this.LiabilityN1,this.LiabilityN2,this.LiabilityN3,this.OperatingResultN1,this.OperatingResultN2,this.OperatingResultN3,this.DBFailureScore,this.IsAuditedAccount,this.IsAuditedAccountComment,this.IsLiquidationProceedings,this.IsLiquidationProceedingsComment,this.VeoliaAnnualRevenuesProportion,this.IsAntiCorruptionDocument,this.IsCorruptionRiskMap,this.IsThirdPartiesEvaluatingSystem,this.IsInternalRules,this.IsHumanRights,this.IsAntiCorruptionTraining,this.IsAntiCorruptionReportSystem,this.IsIso9001,this.IsEcoVadisScorecard,this.EcoVadisTotalScore,this.IsReduceEmployeeSafetyRisk,this.IsPromoteSocialIntegration,this.IsNondiscriminationPolicy,this.IsIso14001,this.IsIdentifiedMajorEnvironmentalImpacts,this.IsUseWaterResources,this.IsConsumptionOfRawMaterials,this.IsEnergyConsumption,this.IsGreenhouseGasEmissions,this.IsAtmosphericEmissions,this.IsAqueousPollution,this.IsWasteGeneration,this.IsNaturalAreasPollution,this.IsPrivacyStatement,this.IsVeoliaSupplierCharter,this.IsVeoliaCoreStandards}); ModifyProcurementBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); IsGroupMember = json['IsGroupMember']; GroupName = json['GroupName']; GroupShortName = json['GroupShortName']; CountryId = json['CountryId']; VatNumber = json['VatNumber']; RegistrationNumber = json['RegistrationNumber']; Duns = json['Duns']; Address = json['Address']; MainActivity = json['MainActivity']; EstablishedDate = JsonConverters.fromJson(json['EstablishedDate'],'DateTime',context!); Workforce = json['Workforce']; Website = json['Website']; SalesManagerName = json['SalesManagerName']; SalesManagerPhone = json['SalesManagerPhone']; SalesManagerEmail = json['SalesManagerEmail']; CsrManagerName = json['CsrManagerName']; CsrManagerPhone = json['CsrManagerPhone']; CsrManagerEmail = json['CsrManagerEmail']; AccountCountryId = json['AccountCountryId']; BankName = json['BankName']; AccountNumber = json['AccountNumber']; Iban = json['Iban']; Swift = json['Swift']; CurrencyId = json['CurrencyId']; WorkForceN1 = json['WorkForceN1']; WorkForceN2 = json['WorkForceN2']; WorkForceN3 = json['WorkForceN3']; SubscribedCapital = json['SubscribedCapital']; SubscribedCapitalCurrencyId = json['SubscribedCapitalCurrencyId']; RevenueN1 = json['RevenueN1']; RevenueN2 = json['RevenueN2']; RevenueN3 = json['RevenueN3']; NetProfitN1 = json['NetProfitN1']; NetProfitN2 = json['NetProfitN2']; NetProfitN3 = json['NetProfitN3']; EquityN1 = json['EquityN1']; EquityN2 = json['EquityN2']; EquityN3 = json['EquityN3']; LiabilityN1 = json['LiabilityN1']; LiabilityN2 = json['LiabilityN2']; LiabilityN3 = json['LiabilityN3']; OperatingResultN1 = json['OperatingResultN1']; OperatingResultN2 = json['OperatingResultN2']; OperatingResultN3 = json['OperatingResultN3']; DBFailureScore = json['DBFailureScore']; IsAuditedAccount = json['IsAuditedAccount']; IsAuditedAccountComment = json['IsAuditedAccountComment']; IsLiquidationProceedings = json['IsLiquidationProceedings']; IsLiquidationProceedingsComment = json['IsLiquidationProceedingsComment']; VeoliaAnnualRevenuesProportion = JsonConverters.toDouble(json['VeoliaAnnualRevenuesProportion']); IsAntiCorruptionDocument = json['IsAntiCorruptionDocument']; IsCorruptionRiskMap = json['IsCorruptionRiskMap']; IsThirdPartiesEvaluatingSystem = json['IsThirdPartiesEvaluatingSystem']; IsInternalRules = json['IsInternalRules']; IsHumanRights = json['IsHumanRights']; IsAntiCorruptionTraining = json['IsAntiCorruptionTraining']; IsAntiCorruptionReportSystem = json['IsAntiCorruptionReportSystem']; IsIso9001 = json['IsIso9001']; IsEcoVadisScorecard = json['IsEcoVadisScorecard']; EcoVadisTotalScore = json['EcoVadisTotalScore']; IsReduceEmployeeSafetyRisk = json['IsReduceEmployeeSafetyRisk']; IsPromoteSocialIntegration = json['IsPromoteSocialIntegration']; IsNondiscriminationPolicy = json['IsNondiscriminationPolicy']; IsIso14001 = json['IsIso14001']; IsIdentifiedMajorEnvironmentalImpacts = json['IsIdentifiedMajorEnvironmentalImpacts']; IsUseWaterResources = json['IsUseWaterResources']; IsConsumptionOfRawMaterials = json['IsConsumptionOfRawMaterials']; IsEnergyConsumption = json['IsEnergyConsumption']; IsGreenhouseGasEmissions = json['IsGreenhouseGasEmissions']; IsAtmosphericEmissions = json['IsAtmosphericEmissions']; IsAqueousPollution = json['IsAqueousPollution']; IsWasteGeneration = json['IsWasteGeneration']; IsNaturalAreasPollution = json['IsNaturalAreasPollution']; IsPrivacyStatement = json['IsPrivacyStatement']; IsVeoliaSupplierCharter = json['IsVeoliaSupplierCharter']; IsVeoliaCoreStandards = json['IsVeoliaCoreStandards']; return this; } Map toJson() => super.toJson()..addAll({ 'IsGroupMember': IsGroupMember, 'GroupName': GroupName, 'GroupShortName': GroupShortName, 'CountryId': CountryId, 'VatNumber': VatNumber, 'RegistrationNumber': RegistrationNumber, 'Duns': Duns, 'Address': Address, 'MainActivity': MainActivity, 'EstablishedDate': JsonConverters.toJson(EstablishedDate,'DateTime',context!), 'Workforce': Workforce, 'Website': Website, 'SalesManagerName': SalesManagerName, 'SalesManagerPhone': SalesManagerPhone, 'SalesManagerEmail': SalesManagerEmail, 'CsrManagerName': CsrManagerName, 'CsrManagerPhone': CsrManagerPhone, 'CsrManagerEmail': CsrManagerEmail, 'AccountCountryId': AccountCountryId, 'BankName': BankName, 'AccountNumber': AccountNumber, 'Iban': Iban, 'Swift': Swift, 'CurrencyId': CurrencyId, 'WorkForceN1': WorkForceN1, 'WorkForceN2': WorkForceN2, 'WorkForceN3': WorkForceN3, 'SubscribedCapital': SubscribedCapital, 'SubscribedCapitalCurrencyId': SubscribedCapitalCurrencyId, 'RevenueN1': RevenueN1, 'RevenueN2': RevenueN2, 'RevenueN3': RevenueN3, 'NetProfitN1': NetProfitN1, 'NetProfitN2': NetProfitN2, 'NetProfitN3': NetProfitN3, 'EquityN1': EquityN1, 'EquityN2': EquityN2, 'EquityN3': EquityN3, 'LiabilityN1': LiabilityN1, 'LiabilityN2': LiabilityN2, 'LiabilityN3': LiabilityN3, 'OperatingResultN1': OperatingResultN1, 'OperatingResultN2': OperatingResultN2, 'OperatingResultN3': OperatingResultN3, 'DBFailureScore': DBFailureScore, 'IsAuditedAccount': IsAuditedAccount, 'IsAuditedAccountComment': IsAuditedAccountComment, 'IsLiquidationProceedings': IsLiquidationProceedings, 'IsLiquidationProceedingsComment': IsLiquidationProceedingsComment, 'VeoliaAnnualRevenuesProportion': VeoliaAnnualRevenuesProportion, 'IsAntiCorruptionDocument': IsAntiCorruptionDocument, 'IsCorruptionRiskMap': IsCorruptionRiskMap, 'IsThirdPartiesEvaluatingSystem': IsThirdPartiesEvaluatingSystem, 'IsInternalRules': IsInternalRules, 'IsHumanRights': IsHumanRights, 'IsAntiCorruptionTraining': IsAntiCorruptionTraining, 'IsAntiCorruptionReportSystem': IsAntiCorruptionReportSystem, 'IsIso9001': IsIso9001, 'IsEcoVadisScorecard': IsEcoVadisScorecard, 'EcoVadisTotalScore': EcoVadisTotalScore, 'IsReduceEmployeeSafetyRisk': IsReduceEmployeeSafetyRisk, 'IsPromoteSocialIntegration': IsPromoteSocialIntegration, 'IsNondiscriminationPolicy': IsNondiscriminationPolicy, 'IsIso14001': IsIso14001, 'IsIdentifiedMajorEnvironmentalImpacts': IsIdentifiedMajorEnvironmentalImpacts, 'IsUseWaterResources': IsUseWaterResources, 'IsConsumptionOfRawMaterials': IsConsumptionOfRawMaterials, 'IsEnergyConsumption': IsEnergyConsumption, 'IsGreenhouseGasEmissions': IsGreenhouseGasEmissions, 'IsAtmosphericEmissions': IsAtmosphericEmissions, 'IsAqueousPollution': IsAqueousPollution, 'IsWasteGeneration': IsWasteGeneration, 'IsNaturalAreasPollution': IsNaturalAreasPollution, 'IsPrivacyStatement': IsPrivacyStatement, 'IsVeoliaSupplierCharter': IsVeoliaSupplierCharter, 'IsVeoliaCoreStandards': IsVeoliaCoreStandards }); getTypeName() => "ModifyProcurementBase"; TypeContext? context = _ctx; } class AddProcurementLegalRepresentative implements IConvertible { String? Position; String? Name; String? Address; DateTime? BirthDate; String? Email; AddProcurementLegalRepresentative({this.Position,this.Name,this.Address,this.BirthDate,this.Email}); AddProcurementLegalRepresentative.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Position = json['Position']; Name = json['Name']; Address = json['Address']; BirthDate = JsonConverters.fromJson(json['BirthDate'],'DateTime',context!); Email = json['Email']; return this; } Map toJson() => { 'Position': Position, 'Name': Name, 'Address': Address, 'BirthDate': JsonConverters.toJson(BirthDate,'DateTime',context!), 'Email': Email }; getTypeName() => "AddProcurementLegalRepresentative"; TypeContext? context = _ctx; } 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; } class ModifyEntityResponse extends ResponseBase implements IConvertible { int? Id; ModifyEntityResponse({this.Id}); ModifyEntityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ModifyEntityResponse"; TypeContext? context = _ctx; } // @Route("/tender/{tenderid}/user/{userid}/procurement", "POST") class AddProcurement extends ModifyProcurementBase implements IReturn, IPost, IConvertible { int? TenderId; int? UserId; List? LegalRepresentatives; AddProcurement({this.TenderId,this.UserId,this.LegalRepresentatives}); AddProcurement.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); TenderId = json['TenderId']; UserId = json['UserId']; LegalRepresentatives = JsonConverters.fromJson(json['LegalRepresentatives'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'TenderId': TenderId, 'UserId': UserId, 'LegalRepresentatives': JsonConverters.toJson(LegalRepresentatives,'List',context!) }); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "AddProcurement"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'ModifyProcurementBase': TypeInfo(TypeOf.AbstractClass), 'AddProcurementLegalRepresentative': TypeInfo(TypeOf.Class, create:() => AddProcurementLegalRepresentative()), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'AddProcurement': TypeInfo(TypeOf.Class, create:() => AddProcurement()), 'List': TypeInfo(TypeOf.Class, create:() => []), });