static SousModuleAgence()
 {
     strategieAffichageAgences = new List <InformationAffichage>
     {
         InformationAffichage.Creer <AgenceVoyage>(x => x.Id, "Id Agence", 10),
         InformationAffichage.Creer <AgenceVoyage>(x => x.Nom, "Raison sociale", 20),
     };
 }
 public static List <InformationAffichage> AffichageAgence()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <AgenceVoyage>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <AgenceVoyage>(x => x.Nom, "Nom", 50),
     });
 }
 static ModuleGestionDossiersResa()
 {
     strategieAffichageDossiers = new List <InformationAffichage>
     {
         InformationAffichage.Creer <DossierReservation>(x => x.Id, "Id Dossier", 12),
         InformationAffichage.Creer <DossierReservation>(x => x.IdVoyage, "Voyage", 12),
         InformationAffichage.Creer <DossierReservation>(x => x.IdClient, "Client", 15),
     };
 }
 public static List <InformationAffichage> AffichageDestination()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <Destination>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Destination>(x => x.Continent, "Continent", 20),
         InformationAffichage.Creer <Destination>(x => x.Pays, "Pays", 20),
         InformationAffichage.Creer <Destination>(x => x.Region, "Region", 20),
         InformationAffichage.Creer <Destination>(x => x.Description, "Description", 50),
     });
 }
Ejemplo n.º 5
0
        public static List <InformationAffichage> GetStrategieAgence()
        {
            List <InformationAffichage> strategieAffichageAgences =
                new List <InformationAffichage>
            {
                InformationAffichage.Creer <AgenceVoyage>(x => x.Id, "Id", 3),
                InformationAffichage.Creer <AgenceVoyage>(x => x.Nom, "Nom", 30)
            };

            return(strategieAffichageAgences);
        }
 static SousModuleDestination()
 {
     strategieAffichageDestinations = new List <InformationAffichage>
     {
         InformationAffichage.Creer <Destination>(x => x.Id, "Dest.", 5),
         InformationAffichage.Creer <Destination>(x => x.Continent, "Continent", 15),
         InformationAffichage.Creer <Destination>(x => x.Pays, "Pays", 15),
         InformationAffichage.Creer <Destination>(x => x.Description, "Description (moins de 70 caractères)", 70),
         InformationAffichage.Creer <Destination>(x => x.Region, "Region", 15),
     };
 }
 public static List <InformationAffichage> AffichageGestionVoyages()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <Voyage>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Voyage>(x => x.DateAller, "DateAller", 10),
         InformationAffichage.Creer <Voyage>(x => x.DateRetour, "DateRetour", 10),
         InformationAffichage.Creer <Voyage>(x => x.PlacesDisponibles, "PlaceDisponibles", 5),
         InformationAffichage.Creer <Voyage>(x => x.TarifToutCompris, "TarifToutCompris", 5),
         InformationAffichage.Creer <Voyage>(x => x.IdAgence, "IdAgenceVoyage", 3),
         InformationAffichage.Creer <Voyage>(x => x.IdDestination, "IdDestination", 3),
     });
 }
 public static List <InformationAffichage> AffichageDossierReservation()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <DossierReservation>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <DossierReservation>(x => x.IdVoyage, "IdVoyage", 3),
         InformationAffichage.Creer <DossierReservation>(x => x.NumeroUnique, "NumerUnique", 3),
         InformationAffichage.Creer <DossierReservation>(x => x.NumeroCarteBancaire, "NumeroCarteBancaire", 50),
         InformationAffichage.Creer <DossierReservation>(x => x.PrixTotal, "PrixTotal", 20),
         InformationAffichage.Creer <DossierReservation>(x => x.Id, "IdClient", 10),
         InformationAffichage.Creer <DossierReservation>(x => x.Id, "IdParticipant", 10),
     });
 }
Ejemplo n.º 9
0
 static ModuleGestionProduits()
 {
     // On définit ici les propriétés qu'on veut afficher
     //  et la manière de les afficher
     strategieAffichageProduits = new List <InformationAffichage>
     {
         InformationAffichage.Creer <Produit>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Produit>(x => x.Nom, "Nom", 20),
         InformationAffichage.Creer <Produit>(x => x.Description, "Description", 50),
         InformationAffichage.Creer <Produit>(x => x.PrixJourHT, "Prix jour (HT)", 15),
         InformationAffichage.Creer <Produit>(x => x.Categorie, "Catégorie", 20),
     };
 }
Ejemplo n.º 10
0
 static SousModuleOffre()
 {
     strategieAffichageOffres = new List <InformationAffichage>
     {
         InformationAffichage.Creer <Voyage>(x => x.Id, "Id Voyage", 12),
         InformationAffichage.Creer <Voyage>(x => x.DateAller, "Du", 12),
         InformationAffichage.Creer <Voyage>(x => x.DateRetour, "Au", 15),
         InformationAffichage.Creer <Voyage>(x => x.PlacesDisponibles, "Places", 6),
         InformationAffichage.Creer <Voyage>(x => x.IdDestination, "Dest.", 6),
         InformationAffichage.Creer <Voyage>(x => x.IdAgence, "Proposé par", 15),
         InformationAffichage.Creer <Voyage>(x => x.TarifToutCompris, "Prix agence", 15),
     };
 }
Ejemplo n.º 11
0
 public static List <InformationAffichage> AffichageParticipant()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <Participant>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Participant>(x => x.NumeroUnique, "NumeroUnique", 50),
         InformationAffichage.Creer <Participant>(x => x.Civilite, "Civilite", 4),
         InformationAffichage.Creer <Participant>(x => x.Nom, "Nom", 20),
         InformationAffichage.Creer <Participant>(x => x.Prenom, "Prenom", 20),
         InformationAffichage.Creer <Participant>(x => x.Adresse, "Adresse", 50),
         InformationAffichage.Creer <Participant>(x => x.Telephone, "Telephone", 10),
         InformationAffichage.Creer <Participant>(x => x.DateNaissance, "DateNaissance", 15),
     });
 }
 static ModuleGestionClients()
 {
     strategieAffichageClients = new List <InformationAffichage>
     {
         InformationAffichage.Creer <Client>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Client>(x => x.Nom, "Nom", 15),
         InformationAffichage.Creer <Client>(x => x.Prenom, "Prénom", 15),
         InformationAffichage.Creer <Client>(x => x.Adresse, "Adresse", 30),
         InformationAffichage.Creer <Client>(x => x.Telephone, "Téléphone", 10),
         InformationAffichage.Creer <Client>(x => x.Email, "Email", 30),
         InformationAffichage.Creer <Client>(x => x.DateNaissance, "Date de naissance", 17),
         InformationAffichage.Creer <Client>(x => x.Age, "Age", 3)
     };
 }
 static ModuleGestionParticipants()
 {
     strategieAffichageParticipants = new List <InformationAffichage>
     {
         InformationAffichage.Creer <Participant>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Participant>(x => x.Nom, "Nom", 15),
         InformationAffichage.Creer <Participant>(x => x.Prenom, "Prénom", 15),
         InformationAffichage.Creer <Participant>(x => x.Adresse, "Adresse", 30),
         InformationAffichage.Creer <Participant>(x => x.Telephone, "Téléphone", 10),
         InformationAffichage.Creer <Participant>(x => x.DateNaissance, "Date naissance", 17),
         InformationAffichage.Creer <Participant>(x => x.Age, "Age", 3),
         InformationAffichage.Creer <Participant>(x => x.Reduction, "Réduction", 10),
     };
 }
Ejemplo n.º 14
0
        public static List <InformationAffichage> GetStrategieDestination()
        {
            List <InformationAffichage> strategieAffichageDestinations =
                new List <InformationAffichage>
            {
                InformationAffichage.Creer <Destination>(x => x.Id, "Id", 3),
                InformationAffichage.Creer <Destination>(x => x.Continent, "Continent", 20),
                InformationAffichage.Creer <Destination>(x => x.Pays, "Pays", 15),
                InformationAffichage.Creer <Destination>(x => x.Region, "Région", 15),
                InformationAffichage.Creer <Destination>(x => x.Description, "Description", 80)
            };

            return(strategieAffichageDestinations);
        }
Ejemplo n.º 15
0
        public static List <InformationAffichage> GetStrategieDossier()
        {
            List <InformationAffichage> strategieAffichageParticipants =
                new List <InformationAffichage>
            {
                InformationAffichage.Creer <DossierReservation>(x => x.Id, "Id", 3),
                InformationAffichage.Creer <DossierReservation>(x => x.EtatDossierReservation, "Etat Dossier Réservation", 10),
                InformationAffichage.Creer <DossierReservation>(x => x.IdVoyage, "Id_Voyage", 20),
                InformationAffichage.Creer <DossierReservation>(x => x.Client.Nom, "Client", 20),
                InformationAffichage.Creer <DossierReservation>(x => x.AssuranceAnnulation, "Assurance Annulation", 20),
                InformationAffichage.Creer <DossierReservation>(x => x.PrixTotal, "Prix TTC", 20),
            };

            return(strategieAffichageParticipants);
        }
Ejemplo n.º 16
0
        public static List <InformationAffichage> GetStrategieVoyage()
        {
            List <InformationAffichage> strategieAffichageVoyages =
                new List <InformationAffichage>
            {
                InformationAffichage.Creer <Voyage>(x => x.Id, "Id", 3),
                InformationAffichage.Creer <Voyage>(x => x.Destination, "Destination", 20),
                InformationAffichage.Creer <Voyage>(x => x.DateAller, "Date Aller", 15),
                InformationAffichage.Creer <Voyage>(x => x.DateRetour, "Date Retour", 15),
                InformationAffichage.Creer <Voyage>(x => x.PlacesDisponibles, "Places Disponibles", 20),
                InformationAffichage.Creer <Voyage>(x => x.TarifToutCompris, "Tarif TTC par personne", 25)
            };

            return(strategieAffichageVoyages);
        }
Ejemplo n.º 17
0
 public static List <InformationAffichage> AffichageClient()
 {
     return(new List <InformationAffichage>
     {
         InformationAffichage.Creer <Client>(x => x.Id, "Id", 3),
         InformationAffichage.Creer <Client>(x => x.Civilite, "Civilite", 4),
         InformationAffichage.Creer <Client>(x => x.Nom, "Nom", 20),
         InformationAffichage.Creer <Client>(x => x.Prenom, "Prenom", 20),
         InformationAffichage.Creer <Client>(x => x.Adresse, "Adresse", 50),
         InformationAffichage.Creer <Client>(x => x.Telephone, "Telephone", 10),
         InformationAffichage.Creer <Client>(x => x.Email, "Email", 50),
         InformationAffichage.Creer <Client>(x => x.DateNaissance, "DateNaissance", 15),
         InformationAffichage.Creer <Client>(x => x.Age, "Age", 3),
     });
 }
Ejemplo n.º 18
0
        public static List <InformationAffichage> GetStrategieParticipant()
        {
            List <InformationAffichage> strategieAffichageParticipants =
                new List <InformationAffichage>
            {
                InformationAffichage.Creer <Client>(x => x.Id, "Id", 3),
                InformationAffichage.Creer <Client>(x => x.Civilite, "Civilité", 10),
                InformationAffichage.Creer <Client>(x => x.Nom, "Nom", 20),
                InformationAffichage.Creer <Client>(x => x.Prenom, "Prénom", 20),
                InformationAffichage.Creer <Client>(x => x.Adresse, "Adresse", 50),
                InformationAffichage.Creer <Client>(x => x.Telephone, "TEL", 15),
                InformationAffichage.Creer <Client>(x => x.DateNaissance, "Date de naissance", 15)
            };

            return(strategieAffichageParticipants);
        }