Mise à jour de 'WF-WebAdmin/WF-WebAdmin/Model/User.cs'
continuous-integration/drone/push Build is failing Details

master
parent 8e700eeca2
commit 52b377fef8

@ -1,26 +1,26 @@
namespace WF_WebAdmin.Model namespace WF_WebAdmin.Model
{ {
public class User public class User
{ {
public int Id { get; set; } public int Id { get; set; }
public string Image { get; set; } public string? Image { get; set; }
public string Name { get; set; } public string Name { get; set; }
public string Email { get; set; } public string Email { get; set; }
public DateTime DateCreation { get; set; } public DateTime DateCreation { get; set; }
public Boolean IsAdmin { get; set; } public Boolean IsAdmin { get; set; }
public List<Commentary> Comments { get; set; } public List<Commentary>? Comments { get; set; }
public User(string image, string name, string email, DateTime dateCreation, bool isAdmin) public User(string image, string name, string email, DateTime dateCreation, bool isAdmin)
{ {
this.Image = image; this.Image = image;
this.Name = name; this.Name = name;
this.Email = email; this.Email = email;
this.DateCreation = dateCreation; this.DateCreation = dateCreation;
IsAdmin = isAdmin; IsAdmin = isAdmin;
} }
public User() { } public User() { }
} }
} }

Loading…
Cancel
Save