diff --git a/WF-WebAdmin/WF-WebAdmin/Model/User.cs b/WF-WebAdmin/WF-WebAdmin/Model/User.cs index 9e398dd..5916a3f 100644 --- a/WF-WebAdmin/WF-WebAdmin/Model/User.cs +++ b/WF-WebAdmin/WF-WebAdmin/Model/User.cs @@ -1,26 +1,26 @@ -namespace WF_WebAdmin.Model -{ - public class User - { - public int Id { get; set; } - public string Image { get; set; } - public string Name { get; set; } - public string Email { get; set; } - public DateTime DateCreation { get; set; } - - public Boolean IsAdmin { get; set; } - - public List Comments { get; set; } - - public User(string image, string name, string email, DateTime dateCreation, bool isAdmin) - { - this.Image = image; - this.Name = name; - this.Email = email; - this.DateCreation = dateCreation; - IsAdmin = isAdmin; - } - - public User() { } - } -} +namespace WF_WebAdmin.Model +{ + public class User + { + public int Id { get; set; } + public string? Image { get; set; } + public string Name { get; set; } + public string Email { get; set; } + public DateTime DateCreation { get; set; } + + public Boolean IsAdmin { get; set; } + + public List? Comments { get; set; } + + public User(string image, string name, string email, DateTime dateCreation, bool isAdmin) + { + this.Image = image; + this.Name = name; + this.Email = email; + this.DateCreation = dateCreation; + IsAdmin = isAdmin; + } + + public User() { } + } +}