Example #1
0
        // Constructer :
        public Message(int idMessage, string contentMessage, string etatMessage, DateTime dateMessage, Utilisateur envoyeur, Ticket ticket)
        {
            this.table = "[Message]";

            this.IdMessage      = idMessage;
            this.ContentMessage = contentMessage;
            this.DateMessage    = dateMessage;
            this.EtatMessage    = etatMessage;
            this.Envoyeur       = envoyeur;
            this.Ticket         = ticket;
        }
Example #2
0
        public Ticket(int idTicket, DateTime dateOuverture, DateTime dateFermeture, String objet, String description, String priorite, Utilisateur expediteur, Categorie categorie, string etatTicket)

        {
            this.table = "[dbo].[Ticket]";

            this.IdTicket      = idTicket;
            this.DateOuverture = dateOuverture;
            this.DateFermeture = dateFermeture;
            this.Objet         = objet;
            this.Description   = description;
            this.Priorite      = priorite;
            this.Expediteur    = expediteur;
            this.Categorie     = categorie;
            this.EtatTicket    = etatTicket;
        }
 public StatByTechnicien(Utilisateur T, int nb)
 {
     this.tichnicien = T;
     this.NbTick     = nb;
 }