using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Yavsc.Model.Blogs { /// /// Blog edit comment model. /// public class BlogEditCommentModel:Comment { /// /// Gets or sets a value indicating whether this is preview. /// /// true if preview; otherwise, false. [DisplayName("Prévisualiser")] [Required] public bool Preview { get; set; } } }