diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs index 04bcae8..d19aaf8 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs @@ -13162,6 +13162,7 @@ private string ConvertToString(object value, System.Globalization.CultureInfo cu public partial class AddressBaseContract : System.ComponentModel.INotifyPropertyChanged { private string _postalCode; + private string _address; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -13183,6 +13184,21 @@ public string PostalCode } } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address + { + get { return _address; } + + set + { + if (_address != value) + { + _address = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -13272,6 +13288,7 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal public partial class AddressContract : System.ComponentModel.INotifyPropertyChanged { private string _postalCode; + private string _address; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -13294,6 +13311,21 @@ public string PostalCode } } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address + { + get { return _address; } + + set + { + if (_address != value) + { + _address = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -13586,6 +13618,7 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal public partial class AddressLanguageContract : System.ComponentModel.INotifyPropertyChanged { private string _postalCode; + private string _address; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -13608,6 +13641,21 @@ public string PostalCode } } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address + { + get { return _address; } + + set + { + if (_address != value) + { + _address = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -14514,6 +14562,7 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal public partial class CreateAddressRequestContract : System.ComponentModel.INotifyPropertyChanged { private string _postalCode; + private string _address; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -14535,6 +14584,21 @@ public string PostalCode } } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address + { + get { return _address; } + + set + { + if (_address != value) + { + _address = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -16069,6 +16133,7 @@ public partial class CreateVisaRequestContract : System.ComponentModel.INotifyPr private System.DateTimeOffset? _entryDate; private System.DateTimeOffset? _exitDate; private int? _duration; + private string _number; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -16122,6 +16187,21 @@ public int? Duration } } + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number + { + get { return _number; } + + set + { + if (_number != value) + { + _number = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -20355,6 +20435,7 @@ public partial class PersonContract : System.ComponentModel.INotifyPropertyChang private System.DateTimeOffset? _birthDate; private RoleOnSiteType _roleOnSiteType; private PersonType _type; + private string _description; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -20367,7 +20448,6 @@ public partial class PersonContract : System.ComponentModel.INotifyPropertyChang private long _id; private string _firstName; private string _lastName; - private string _description; private System.Collections.Generic.ICollection _addresses; private System.Collections.Generic.ICollection _emails; private System.Collections.Generic.ICollection _passports; @@ -20482,6 +20562,21 @@ public PersonType Type } } + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description + { + get { return _description; } + + set + { + if (_description != value) + { + _description = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -20662,21 +20757,6 @@ public string LastName } } - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description - { - get { return _description; } - - set - { - if (_description != value) - { - _description = value; - RaisePropertyChanged(); - } - } - } - [Newtonsoft.Json.JsonProperty("addresses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Addresses { @@ -21003,7 +21083,6 @@ public partial class PersonLanguageContract : System.ComponentModel.INotifyPrope private long _id; private System.Collections.Generic.ICollection _firstNames; private System.Collections.Generic.ICollection _lastNames; - private System.Collections.Generic.ICollection _descriptions; [Newtonsoft.Json.JsonProperty("nationalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string NationalCode @@ -21306,21 +21385,6 @@ public System.Collections.Generic.ICollection LastNames } } - [Newtonsoft.Json.JsonProperty("descriptions", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Descriptions - { - get { return _descriptions; } - - set - { - if (_descriptions != value) - { - _descriptions = value; - RaisePropertyChanged(); - } - } - } - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) @@ -22275,6 +22339,7 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal public partial class UpdateAddressRequestContract : System.ComponentModel.INotifyPropertyChanged { private string _postalCode; + private string _address; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -22297,6 +22362,21 @@ public string PostalCode } } + [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address + { + get { return _address; } + + set + { + if (_address != value) + { + _address = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -23958,6 +24038,7 @@ public partial class UpdateVisaRequestContract : System.ComponentModel.INotifyPr private System.DateTimeOffset? _entryDate; private System.DateTimeOffset? _exitDate; private int? _duration; + private string _number; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -24012,6 +24093,21 @@ public int? Duration } } + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number + { + get { return _number; } + + set + { + if (_number != value) + { + _number = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -24178,6 +24274,7 @@ public partial class VisaBaseContract : System.ComponentModel.INotifyPropertyCha private System.DateTimeOffset? _entryDate; private System.DateTimeOffset? _exitDate; private int? _duration; + private string _number; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -24231,6 +24328,21 @@ public int? Duration } } + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number + { + get { return _number; } + + set + { + if (_number != value) + { + _number = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -24322,6 +24434,7 @@ public partial class VisaContract : System.ComponentModel.INotifyPropertyChanged private System.DateTimeOffset? _entryDate; private System.DateTimeOffset? _exitDate; private int? _duration; + private string _number; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -24376,6 +24489,21 @@ public int? Duration } } + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number + { + get { return _number; } + + set + { + if (_number != value) + { + _number = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { @@ -24670,6 +24798,7 @@ public partial class VisaLanguageContract : System.ComponentModel.INotifyPropert private System.DateTimeOffset? _entryDate; private System.DateTimeOffset? _exitDate; private int? _duration; + private string _number; private string _uniqueIdentity; private System.DateTimeOffset _creationDateTime; private System.DateTimeOffset? _modificationDateTime; @@ -24724,6 +24853,21 @@ public int? Duration } } + [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number + { + get { return _number; } + + set + { + if (_number != value) + { + _number = value; + RaisePropertyChanged(); + } + } + } + [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UniqueIdentity { diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json index 75eb8b5..67d16eb 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json @@ -7342,6 +7342,10 @@ "type": "string", "nullable": true }, + "address": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -7375,6 +7379,10 @@ "type": "string", "nullable": true }, + "address": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -7463,6 +7471,10 @@ "type": "string", "nullable": true }, + "address": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -7726,6 +7738,10 @@ "type": "string", "nullable": true }, + "address": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -8276,6 +8292,10 @@ "format": "int32", "nullable": true }, + "number": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -10000,6 +10020,10 @@ "type": { "$ref": "#/components/schemas/PersonType" }, + "description": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -10059,10 +10083,6 @@ "type": "string", "nullable": true }, - "description": { - "type": "string", - "nullable": true - }, "addresses": { "title": "List", "type": "array", @@ -10271,14 +10291,6 @@ "items": { "$ref": "#/components/schemas/LanguageDataContract" } - }, - "descriptions": { - "title": "List", - "type": "array", - "nullable": true, - "items": { - "$ref": "#/components/schemas/LanguageDataContract" - } } } }, @@ -10611,6 +10623,10 @@ "type": "string", "nullable": true }, + "address": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -11193,6 +11209,10 @@ "format": "int32", "nullable": true }, + "number": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -11269,6 +11289,10 @@ "format": "int32", "nullable": true }, + "number": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -11316,6 +11340,10 @@ "format": "int32", "nullable": true }, + "number": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true @@ -11418,6 +11446,10 @@ "format": "int32", "nullable": true }, + "number": { + "type": "string", + "nullable": true + }, "uniqueIdentity": { "type": "string", "nullable": true diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj index d89b8c6..677c4fa 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj @@ -5,7 +5,7 @@ AnyCPU;x64;x86 EasyMicroservices true - 0.0.0.4 + 0.0.0.5 client generated code. EasyMicroservices@gmail.com microservice,address,person,visa,passport,phone,email,customer diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/AddressSchema.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/AddressSchema.cs index 1620d3a..00702ed 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/AddressSchema.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/AddressSchema.cs @@ -5,5 +5,6 @@ namespace EasyMicroservices.CustomerMicroservice.Database.Schemas public class AddressSchema : FullAbilitySchema { public string PostalCode { get; set; } + public string Address { get; set; } } } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/VisaSchema.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/VisaSchema.cs index f75bbab..b994ce4 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/VisaSchema.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Database/Database/Schemas/VisaSchema.cs @@ -8,5 +8,6 @@ public class VisaSchema : FullAbilitySchema public DateOnly? EntryDate { get; set; } public DateOnly? ExitDate { get; set; } public int? Duration { get; set; } + public string Number { get; set; } } } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Addresses/AddressBaseContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Addresses/AddressBaseContract.cs index 68dd4ab..7f6d5de 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Addresses/AddressBaseContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Addresses/AddressBaseContract.cs @@ -1,5 +1,4 @@ using EasyMicroservices.Cores.Interfaces; -using EasyMicroservices.CustomerMicroservice.DataTypes; using System; namespace EasyMicroservices.CustomerMicroservice.Contracts.Common.Addresses @@ -7,6 +6,7 @@ namespace EasyMicroservices.CustomerMicroservice.Contracts.Common.Addresses public class AddressBaseContract : IUniqueIdentitySchema, IDateTimeSchema, ISoftDeleteSchema { public string PostalCode { get; set; } + public string Address { get; set; } public string UniqueIdentity { get; set; } public DateTime CreationDateTime { get; set; } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs index db85cd6..716b509 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs @@ -20,9 +20,6 @@ public class PersonContract : PersonBaseContract [ContentLanguage] public string LastName { get; set; } - [ContentLanguage] - public string Description { get; set; } - public List Addresses { get; set; } public List Emails { get; set; } public List Passports { get; set; } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonLanguageContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonLanguageContract.cs index baabf8f..9f7a6c4 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonLanguageContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonLanguageContract.cs @@ -13,8 +13,5 @@ public class PersonLanguageContract : PersonBaseContract [ContentLanguage(nameof(PersonContract.LastName))] public List LastNames { get; set; } - - [ContentLanguage(nameof(PersonContract.Description))] - public List Descriptions { get; set; } } } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Visas/VisaBaseContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Visas/VisaBaseContract.cs index 951e844..cbdb954 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Visas/VisaBaseContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Visas/VisaBaseContract.cs @@ -8,6 +8,7 @@ public class VisaBaseContract : IUniqueIdentitySchema, IDateTimeSchema, ISoftDel public DateOnly? EntryDate { get; set; } public DateOnly? ExitDate { get; set; } public int? Duration { get; set; } + public string Number { get; set; } public string UniqueIdentity { get; set; } public DateTime CreationDateTime { get; set; }