diff --git a/WF-WebAdmin/WF-WebAdmin/Model/Quote.cs b/WF-WebAdmin/WF-WebAdmin/Model/Quote.cs index ffc7f05..df14e88 100644 --- a/WF-WebAdmin/WF-WebAdmin/Model/Quote.cs +++ b/WF-WebAdmin/WF-WebAdmin/Model/Quote.cs @@ -1,69 +1,33 @@ -using Microsoft.AspNetCore.DataProtection.KeyManagement; - -namespace WF_WebAdmin.Model -{ - public class Quote - { - public int Id { get; set; } - public string Content { get; set; } - public int Like { get; set; } - public string Langue { get; set; } - public string Charac { get; set; } - public string ImgPath { get; set; } - public string TitleSrc { get; set; } - public DateTime DateSrc { get; set; } - public string UserProposition { get; set; } - public bool IsValid { get; set; } - - public Quote(int id, string content, string charac, string imgPath, string titleSrc, DateTime dateSrc, int like, string langue, string userProposition, bool isvalid) - { - Id = id; - Content = content; - Charac = charac; - ImgPath = imgPath; - TitleSrc = titleSrc; - DateSrc = dateSrc; - Like = like; - Langue = langue; - UserProposition = userProposition; - IsValid = isvalid; - } - /* - public int Id { get; set; } - public string Content { get; set; } - public int Likes { get; set; } - public string Langue { get; set; } - public bool IsValide { get; set; } - public string? Reason { get; set; } - public int IdCaracter { get; set; } - public int IdSource { get; set; } - public int? IdUserVerif { get; set; } - - public Quote(int id, string content, int likes, string langue, bool isValide, string? reason, int idCaracter, int idSource, int idUserVerif) - { - Id = id; - Content = content; - Likes = likes; - Langue = langue; - IsValide = isValide; - Reason = reason; - IdCaracter = idCaracter; - IdSource = idSource; - IdUserVerif = idUserVerif; - } - - public Quote(int id, string content, int likes, string langue, bool isValide, string? reason, int idCaracter, int idSource, int? idUserVerif) - { - Id = id; - Content = content; - Likes = likes; - Langue = langue; - IsValide = isValide; - Reason = reason; - IdCaracter = idCaracter; - IdSource = idSource; - IdUserVerif = idUserVerif; - } - */ - } -} +using Microsoft.AspNetCore.DataProtection.KeyManagement; + +namespace WF_WebAdmin.Model +{ + public class Quote + { + public int Id { get; set; } + public string Content { get; set; } + public int Like { get; set; } + public string Langue { get; set; } + public string Charac { get; set; } + public string ImgPath { get; set; } + public string TitleSrc { get; set; } + public DateTime DateSrc { get; set; } + public string UserProposition { get; set; } + public bool IsValid { get; set; } + + public Quote(int id, string content, string charac, string imgPath, string titleSrc, DateTime dateSrc, int like, string langue, string userProposition, bool isvalid) + { + Id = id; + Content = content; + Charac = charac; + ImgPath = imgPath; + TitleSrc = titleSrc; + DateSrc = dateSrc; + Like = like; + Langue = langue; + UserProposition = userProposition; + IsValid = isvalid; + } + + } +}