Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NPBasicPropertyModel" /> class.
 /// </summary>
 /// <param name="BirthDate">BirthDate.</param>
 /// <param name="Gender">Gender.</param>
 /// <param name="Name">Name.</param>
 public NPBasicPropertyModel(DateTime BirthDate = default(DateTime), GenderModel Gender = default(GenderModel), string Name = default(string))
 {
     this.BirthDate = BirthDate;
     this.Gender    = Gender;
     this.Name      = Name;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NaturalPersonIntegrationModel" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="AuthenticationUserName">AuthenticationUserName.</param>
 /// <param name="MotherName">MotherName.</param>
 /// <param name="SocialName">SocialName.</param>
 /// <param name="BaptismDate">BaptismDate.</param>
 /// <param name="BirthCity">BirthCity.</param>
 /// <param name="BirthCountry">BirthCountry.</param>
 /// <param name="BirthDate">BirthDate.</param>
 /// <param name="BloodType">BloodType.</param>
 /// <param name="DeceaseDate">DeceaseDate.</param>
 /// <param name="Ethnicity">Ethnicity.</param>
 /// <param name="FirstName">FirstName.</param>
 /// <param name="FullName">FullName.</param>
 /// <param name="Gender">Gender.</param>
 /// <param name="IdentifierDocumentNumber">IdentifierDocumentNumber.</param>
 /// <param name="LastName">LastName.</param>
 /// <param name="LastUpdate">LastUpdate.</param>
 /// <param name="MaritalStatus">MaritalStatus.</param>
 /// <param name="MiddleName">MiddleName.</param>
 /// <param name="Parent01">Parent01.</param>
 /// <param name="Parent02">Parent02.</param>
 /// <param name="NationalityList">NationalityList.</param>
 /// <param name="Occupation">Occupation.</param>
 /// <param name="Photo">Photo.</param>
 /// <param name="Religion">Religion.</param>
 /// <param name="Spouse">Spouse.</param>
 /// <param name="Scholarity">Scholarity.</param>
 /// <param name="AddressList">AddressList.</param>
 /// <param name="ContactList">ContactList.</param>
 /// <param name="DocumentList">DocumentList.</param>
 /// <param name="PhoneList">PhoneList.</param>
 /// <param name="ExternalReferenceId">ExternalReferenceId.</param>
 public NaturalPersonIntegrationModel(Guid Id = default(Guid), string AuthenticationUserName = default(string), string MotherName = default(string), string SocialName = default(string),
                                      DateTime?BaptismDate = default(DateTime?), LocalityLiteSearchModel BirthCity = default(LocalityLiteSearchModel), CountryLiteSearchModel BirthCountry = default(CountryLiteSearchModel),
                                      DateTime BirthDate   = default(DateTime), BloodTypeModel BloodType           = default(BloodTypeModel), DateTime?DeceaseDate = default(DateTime?), EthnicityModel Ethnicity = default(EthnicityModel),
                                      string FirstName     = default(string), string FullName     = default(string), GenderModel Gender = default(GenderModel), string IdentifierDocumentNumber          = default(string),
                                      string LastName      = default(string), DateTime LastUpdate = default(DateTime), MaritalStatusModel MaritalStatus = default(MaritalStatusModel), string MiddleName = default(string),
                                      NaturalPersonRelationshipIntegrationModel Parent01 = default(NaturalPersonRelationshipIntegrationModel),
                                      NaturalPersonRelationshipIntegrationModel Parent02 = default(NaturalPersonRelationshipIntegrationModel),
                                      List <CountryLiteSearchModel> NationalityList      = default(List <CountryLiteSearchModel>), OccupationModel Occupation = default(OccupationModel), Guid?Photo = default(Guid?),
                                      ReligionModel Religion     = default(ReligionModel), NaturalPersonRelationshipIntegrationModel Spouse = default(NaturalPersonRelationshipIntegrationModel),
                                      ScholarityModel Scholarity = default(ScholarityModel), List <PersonAddressLiteModel> AddressList      = default(List <PersonAddressLiteModel>),
                                      List <PersonEContactLiteModel> ContactList = default(List <PersonEContactLiteModel>), List <PersonDocumentLiteModel> DocumentList = default(List <PersonDocumentLiteModel>),
                                      List <PersonPhoneLiteModel> PhoneList      = default(List <PersonPhoneLiteModel>), string ExternalReferenceId = default(string))
 {
     this.Id = Id;
     this.AuthenticationUserName = AuthenticationUserName;
     this.MotherName             = MotherName;
     this.SocialName             = SocialName;
     this.BaptismDate            = BaptismDate;
     this.BirthCity                = BirthCity;
     this.BirthCountry             = BirthCountry;
     this.BirthDate                = BirthDate;
     this.BloodType                = BloodType;
     this.DeceaseDate              = DeceaseDate;
     this.Ethnicity                = Ethnicity;
     this.FirstName                = FirstName;
     this.FullName                 = FullName;
     this.Gender                   = Gender;
     this.IdentifierDocumentNumber = IdentifierDocumentNumber;
     this.LastName                 = LastName;
     this.LastUpdate               = LastUpdate;
     this.MaritalStatus            = MaritalStatus;
     this.MiddleName               = MiddleName;
     this.Parent01                 = Parent01;
     this.Parent02                 = Parent02;
     this.NationalityList          = NationalityList;
     this.Occupation               = Occupation;
     this.Photo               = Photo;
     this.Religion            = Religion;
     this.Spouse              = Spouse;
     this.Scholarity          = Scholarity;
     this.AddressList         = AddressList;
     this.ContactList         = ContactList;
     this.DocumentList        = DocumentList;
     this.PhoneList           = PhoneList;
     this.ExternalReferenceId = ExternalReferenceId;
 }