Advertisement
Guest User

Untitled

a guest
May 14th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.04 KB | None | 0 0
  1. using Detached.Annotations;
  2. using System;
  3. using System.Collections.Generic;
  4.  
  5. namespace FirmBasket.Server
  6. {
  7.     public partial class Organization
  8.     {
  9.         public Organization()
  10.         {
  11.             InverseMainOrganization = new HashSet<Organization>();
  12.             AddressEntries = new HashSet<AddressEntry>();
  13.             AlternateNameEntries = new HashSet<AlternateNameEntry>();
  14.             AuthorizationEntries = new HashSet<AuthorizationEntry>();
  15.             DepositEntries = new HashSet<DepositEntry>();
  16.             EconomicActivityEntries = new HashSet<EconomicActivityEntry>();
  17.             EquityEntries = new HashSet<EquityEntry>();
  18.             IdentifierEntries = new HashSet<IdentifierEntry>();
  19.             LegalFormEntries = new HashSet<LegalFormEntry>();
  20.             LegalStatusEntries = new HashSet<LegalStatusEntry>();
  21.             NameEntries = new HashSet<NameEntry>();
  22.             OtherLegalFactEntries = new HashSet<OtherLegalFactEntry>();
  23.             PredecessorEntries = new HashSet<PredecessorEntry>();
  24.             RegistrationNumberEntries = new HashSet<RegistrationNumberEntry>();
  25.             RegistrationOfficeEntries = new HashSet<RegistrationOfficeEntry>();
  26.             ShareEntries = new HashSet<ShareEntry>();
  27.             StakeholderEntries = new HashSet<StakeholderEntry>();
  28.             StatutoryEntries = new HashSet<StatutoryEntry>();
  29.             SuccessorEntries = new HashSet<SuccessorEntry>();
  30.         }
  31.  
  32.         public int Id { get; set; }
  33.         public DateOnly EstablishedOn { get; set; }
  34.         public DateOnly? TerminatedOn { get; set; }
  35.         public DateTime? ActualizedAt { get; set; }
  36.         public bool HasOrganizationUnit { get; set; }
  37.         public bool HasOperations { get; set; }
  38.         public DateOnly? StatisticalCodesActualizedOn { get; set; }
  39.         public DateTime CreatedAt { get; set; }
  40.         public DateTime UpdatedAt { get; set; }
  41.         public int? MainActivityCodeId { get; set; }
  42.         public int? Esa2010CodeId { get; set; }
  43.         public string? SourceRegister { get; set; }
  44.         public int? MainOrganizationId { get; set; }
  45.         public DateTime? DeletedAt { get; set; }
  46.         public bool? ExtractInProgress { get; set; }
  47.  
  48.         public virtual Esa2010Code? Esa2010Code { get; set; }
  49.         public virtual MainActivityCode? MainActivityCode { get; set; }
  50.         public virtual Organization? MainOrganization { get; set; }
  51.         public virtual ICollection<Organization> InverseMainOrganization { get; set; }
  52.         [Composition]
  53.         public virtual ICollection<AddressEntry> AddressEntries { get; set; }
  54.         public virtual ICollection<AlternateNameEntry> AlternateNameEntries { get; set; }
  55.         public virtual ICollection<AuthorizationEntry> AuthorizationEntries { get; set; }
  56.         public virtual ICollection<DepositEntry> DepositEntries { get; set; }
  57.         public virtual ICollection<EconomicActivityEntry> EconomicActivityEntries { get; set; }
  58.         public virtual ICollection<EquityEntry> EquityEntries { get; set; }
  59.         public virtual ICollection<IdentifierEntry> IdentifierEntries { get; set; }
  60.         public virtual ICollection<LegalFormEntry> LegalFormEntries { get; set; }
  61.         public virtual ICollection<LegalStatusEntry> LegalStatusEntries { get; set; }
  62.         public virtual ICollection<NameEntry> NameEntries { get; set; }
  63.         public virtual ICollection<OtherLegalFactEntry> OtherLegalFactEntries { get; set; }
  64.         public virtual ICollection<PredecessorEntry> PredecessorEntries { get; set; }
  65.         public virtual ICollection<RegistrationNumberEntry> RegistrationNumberEntries { get; set; }
  66.         public virtual ICollection<RegistrationOfficeEntry> RegistrationOfficeEntries { get; set; }
  67.         public virtual ICollection<ShareEntry> ShareEntries { get; set; }
  68.         public virtual ICollection<StakeholderEntry> StakeholderEntries { get; set; }
  69.         public virtual ICollection<StatutoryEntry> StatutoryEntries { get; set; }
  70.         public virtual ICollection<SuccessorEntry> SuccessorEntries { get; set; }
  71.     }
  72. }
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement