Consigne.cs 650 Bytes
Newer Older
Mohamed Guirat's avatar
Mohamed Guirat committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace consignelaWpf.Model
{
    public class Consigne
    {
        [JsonProperty("id")]
        public int id { get; set; }
        [JsonProperty("description")]
        public String description { get; set; }
        [JsonProperty("img_path")]
        public String img_path { get; set; }
Mohamed Guirat's avatar
Mohamed Guirat committed
19
20
        //[JsonProperty("imgBitmap")]
        //public BitmapImage imgBitmap { get; set; }
Mohamed Guirat's avatar
Mohamed Guirat committed
21
22
23
24
25
        [JsonProperty("imgNom")]
        public String imgNom { get; set; }

    }
}