-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModels.cs
More file actions
47 lines (41 loc) · 1.05 KB
/
Copy pathModels.cs
File metadata and controls
47 lines (41 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsyncMapper.Examples
{
public class Group
{
public List<string> people { get; set; }
public string leader { get; set; }
public List<Task> tasks { get; set; }
}
public class PartialTask
{
public int id { get; set; }
public bool finished { get; set; }
public string responsible_login { get; set; }
}
public class Task : PartialTask
{
public string responsible_full_name { get; set; }
public string description { get; set; }
}
public class Person
{
public string name { get; set; }
public string login { get; set; }
public string phone { get; set; }
}
public class Worker : Person
{
public string address { get; set; }
public Job job { get; set; }
}
public class Job
{
public string name { get; set; }
public DateTime employment_date { get; set; }
}
}