/// <summary> /// Constructor for that accepts data from existing SubEntrepeneur /// </summary> /// <param name="entrepeneurs">List<LegalEntity></param> /// <param name="subEntrepeneur">SubEntrepeneur</param> public SubEntrepeneur(SubEntrepeneur subEntrepeneur) { this.id = subEntrepeneur.Id; this.contact = subEntrepeneur.Contact; this.enterpriseList = subEntrepeneur.EnterpriseList; this.entrepeneur = subEntrepeneur.Entrepeneur; this.request = subEntrepeneur.Request; this.ittLetter = subEntrepeneur.IttLetter; this.offer = subEntrepeneur.Offer; this.reservations = subEntrepeneur.Reservations; this.uphold = subEntrepeneur.Uphold; this.agreementConcluded = subEntrepeneur.AgreementConcluded; this.active = subEntrepeneur.Active; }
/// Constructor, that adds an index to an existing SubEntrepeneur /// </summary> /// <param name="index">int</param> /// <param name="subEntrepeneur">SubEntrepeneur</param> public IndexedSubEntrepeneur(int index, SubEntrepeneur subEntrepeneur) : base(subEntrepeneur) { this.index = index; }