Révision 9fd69a0e GES_PAC/Model/Comportement.cs

Voir les différences:

GES_PAC/Model/Comportement.cs
3 3
{
4 4
    public class Comportement
5 5
    {
6
        private DateTime date;
7
        private TypeComportement selectedType;
8
        private string description;
9

  
10
        public Comportement(DateTime date, TypeComportement selectedType, string description)
11
        {
12
            this.date = date;
13
            this.selectedType = selectedType;
14
            this.description = description;
15
        }
16

  
6 17
        public long Id { get; set; }
7 18
        public DateTime Time { get; set; }
8
        public TypeComportement Type { get; set; }
19
        public TypeComportement? Type { get; set; }
9 20
        public string? Commentaire { get; set; }
10 21
    }
11

  
12
    public enum TypeComportement
13
    {
14
        SUFFOCATION,
15
        AGITATION,
16
        HYPERTENSION,
17
        HYPOGLYCEMIE,
18
        HYPERGLYCEMIE,
19
        AUTRE
20
    }
21 22
}

Formats disponibles : Unified diff