Ejemplo n.º 1
0
 /// <summary>
 /// Constructor to add subentrepeneur from Db to List
 /// </summary>
 /// <param name="entrepeneurs">List<LegalEntity></param>
 /// <param name="id">int</param>
 /// <param name="enterpriseList">int?</param>
 /// <param name="entrepeneur">string</param>
 /// <param name="contact">int?</param>
 /// <param name="request">int?</param>
 /// <param name="ittLetter">int?</param>
 /// <param name="offer">int?</param>
 /// <param name="reservations">bool</param>
 /// <param name="uphold">bool</param>
 /// <param name="agreementConcluded">bool</param>
 /// <param name="active">bool</param>
 public SubEntrepeneur(int id, Enterprise enterpriseList, LegalEntity entrepeneur, Contact contact, Request request, IttLetter ittLetter, Offer offer, bool reservations, bool uphold, bool agreementConcluded, bool active)
 {
     this.id                 = id;
     this.enterpriseList     = enterpriseList;
     this.entrepeneur        = entrepeneur;
     this.contact            = contact;
     this.request            = request;
     this.ittLetter          = ittLetter;
     this.offer              = offer;
     this.reservations       = reservations;
     this.uphold             = uphold;
     this.agreementConcluded = agreementConcluded;
     this.active             = active;
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Empty constructor
 /// </summary>
 /// <param name="entrepeneurs">List<LegalEntity></param>
 public SubEntrepeneur()
 {
     this.id                 = 0;
     this.enterpriseList     = new Enterprise();
     this.entrepeneur        = new LegalEntity();
     this.contact            = new Contact();
     this.request            = new Request();
     this.ittLetter          = new IttLetter();
     this.offer              = new Offer();
     this.reservations       = false;
     this.uphold             = false;
     this.agreementConcluded = false;
     this.active             = false;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor for accepts an existing Itt Letter
 /// </summary>
 /// <param name="ittLetter">IttLetter</param>
 public IttLetter(IttLetter ittLetter)
 {
     this.id       = ittLetter.Id;
     this.sent     = ittLetter.Sent;
     this.sentDate = ittLetter.SentDate;
 }