public PhysicalPerson(LegalForm legalForm) : base(EconomicAgentType.PhysicalPerson, legalForm) { Passport = new PassportInfo(); OwnerName = String.Empty; INN = String.Empty; }
public JuridicalPerson(LegalForm legalForm) : base(EconomicAgentType.JuridicalPerson, legalForm) { INN = String.Empty; KPP = String.Empty; OGRN = String.Empty; OKPO = String.Empty; DirectorName = String.Empty; DirectorPost = String.Empty; MainBookkeeperName = String.Empty; CashierName = String.Empty; }
protected EconomicAgent(EconomicAgentType type, LegalForm legalForm) { Type = type; // Type должно быть установлено перед LegalForm LegalForm = legalForm; }