From 1c7397fe8764234b979aa721b0efe91c457419f2 Mon Sep 17 00:00:00 2001 From: Louis GUICHARD-MONTGUERS Date: Sat, 8 Feb 2025 19:38:27 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'WF-WebAdmin/WF-Web?= =?UTF-8?q?Admin/Model/QuoteModel.cs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WF-WebAdmin/WF-WebAdmin/Model/QuoteModel.cs | 54 ++++++++++----------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/WF-WebAdmin/WF-WebAdmin/Model/QuoteModel.cs b/WF-WebAdmin/WF-WebAdmin/Model/QuoteModel.cs index 1db3196..6a8ba04 100644 --- a/WF-WebAdmin/WF-WebAdmin/Model/QuoteModel.cs +++ b/WF-WebAdmin/WF-WebAdmin/Model/QuoteModel.cs @@ -1,27 +1,27 @@ -using System.ComponentModel.DataAnnotations; - -namespace WF_WebAdmin.Model -{ - public class QuoteModel - { - public int Id { get; set; } - - [Required] - [StringLength(300, ErrorMessage = "La citation ne peut pas dépasser les 300 caractère.")] - public string Content { get; set; } - - public int Like { get; set; } - - [Required] - [StringLength(2, ErrorMessage = "La langue ne peut pas dépasser 2 caractère.")] - 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; } - } -} +using System.ComponentModel.DataAnnotations; + +namespace WF_WebAdmin.Model +{ + public class QuoteModel + { + public int Id { get; set; } + + [Required] + [StringLength(300, ErrorMessage = "La citation ne peut pas dépasser les 300 caractère.")] + public string? Content { get; set; } + + public int Like { get; set; } + + [Required] + [StringLength(2, ErrorMessage = "La langue ne peut pas dépasser 2 caractère.")] + 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; } + } +}