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

master
parent 925528a922
commit 6e4f1d8398

@ -1,69 +1,33 @@
using Microsoft.AspNetCore.DataProtection.KeyManagement; using Microsoft.AspNetCore.DataProtection.KeyManagement;
namespace WF_WebAdmin.Model namespace WF_WebAdmin.Model
{ {
public class Quote public class Quote
{ {
public int Id { get; set; } public int Id { get; set; }
public string Content { get; set; } public string Content { get; set; }
public int Like { get; set; } public int Like { get; set; }
public string Langue { get; set; } public string Langue { get; set; }
public string Charac { get; set; } public string Charac { get; set; }
public string ImgPath { get; set; } public string ImgPath { get; set; }
public string TitleSrc { get; set; } public string TitleSrc { get; set; }
public DateTime DateSrc { get; set; } public DateTime DateSrc { get; set; }
public string UserProposition { get; set; } public string UserProposition { get; set; }
public bool IsValid { 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) public Quote(int id, string content, string charac, string imgPath, string titleSrc, DateTime dateSrc, int like, string langue, string userProposition, bool isvalid)
{ {
Id = id; Id = id;
Content = content; Content = content;
Charac = charac; Charac = charac;
ImgPath = imgPath; ImgPath = imgPath;
TitleSrc = titleSrc; TitleSrc = titleSrc;
DateSrc = dateSrc; DateSrc = dateSrc;
Like = like; Like = like;
Langue = langue; Langue = langue;
UserProposition = userProposition; UserProposition = userProposition;
IsValid = isvalid; 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;
}
*/
}
}

Loading…
Cancel
Save