|
0
|
1 |
using System; |
|
|
2 |
using System.Net; |
|
|
3 |
using System.Windows; |
|
|
4 |
using System.Windows.Controls; |
|
|
5 |
using System.Windows.Documents; |
|
|
6 |
using System.Windows.Ink; |
|
|
7 |
using System.Windows.Input; |
|
|
8 |
using System.Windows.Media; |
|
|
9 |
using System.Windows.Media.Animation; |
|
|
10 |
using System.Windows.Shapes; |
|
|
11 |
using System.Collections.Generic; |
|
|
12 |
namespace Iri.Modernisation.Data.Models |
|
|
13 |
{ |
|
|
14 |
/// <summary> |
|
|
15 |
/// Classe utilisateur |
|
|
16 |
/// </summary> |
|
|
17 |
public class User |
|
|
18 |
{ |
|
|
19 |
#region Profil Minimum |
|
|
20 |
public String UserName { get; set; } |
|
|
21 |
public String Password { get; set; } |
|
|
22 |
public String Email { get; set; } |
|
|
23 |
#endregion |
|
|
24 |
|
|
|
25 |
#region Profil avancé |
|
|
26 |
public bool IsAdvancedProfilePublic { get; set; } |
|
|
27 |
public String Name { get; set; } |
|
|
28 |
public String FirstName { get; set; } |
|
|
29 |
public int Age { get; set; } |
|
|
30 |
public String Gender { get; set; } |
|
|
31 |
public String City { get; set; } |
|
|
32 |
public String Country { get; set; } |
|
|
33 |
public String WebSite { get; set; } |
|
|
34 |
public Dictionary<String, String> SocialNetworks { get; set; } |
|
|
35 |
|
|
|
36 |
#endregion |
|
|
37 |
|
|
|
38 |
#region Informations personnelles |
|
|
39 |
public bool IsPersonnalInformationsPublic { get; set; } |
|
|
40 |
public String PratiquesAmateurs { get; set; } |
|
|
41 |
public String Interest { get; set; } |
|
|
42 |
public String Job { get; set; } |
|
|
43 |
public List<String> Biography { get; set; } |
|
|
44 |
#endregion |
|
|
45 |
|
|
|
46 |
/// <summary> |
|
|
47 |
/// Constructeur par défaut; |
|
|
48 |
/// </summary> |
|
|
49 |
public User() |
|
|
50 |
{ |
|
|
51 |
SocialNetworks = new Dictionary<String, String>(); |
|
|
52 |
} |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
} |
|
|
56 |
} |