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 Quote(int id, string content, string charac, string imgPath, string titleSrc, DateTime dateSrc, int like, string langue, string userProposition)
        {
            Id = id;
            Content = content;
            Charac = charac;
            ImgPath = imgPath;
            TitleSrc = titleSrc;
            DateSrc = dateSrc;
            Like = like;
            Langue = langue;
            UserProposition = userProposition;
        }
        /*
        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;
        }
        */
    }
}
