//Déclaration des constructeurs #region Constructors public Commande(string noCommand, Vendeur vendeur, Clientel client, string date, bool facture) { NoCommand = noCommand; Vendeur = vendeur; Client = client; Date = date; Facture = facture; }
//Définitions des constructeurs #region Constructors public Vendeur(string noVendeur, Vendeur vendeurChefEq, string nomVend, string prenomVend, string dateEmbau, string villeVend, float salaireVend, float commission) { NoVendeur = noVendeur; VendeurChefEq = vendeurChefEq; NomVend = nomVend; PrenomVend = prenomVend; DateEmbau = dateEmbau; VilleVend = villeVend; SalaireVend = salaireVend; Commission = commission; }
public Commande() { NoCommand = "0"; Vendeur = new Vendeur(); Client = new Clientel(); }