yavsc/yavscModel/Blogs/BlogEditCommentModel.cs

25 lines
537 B
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
2014-10-06 04:58:47 +02:00
namespace Yavsc.Model.Blogs
2014-07-16 20:35:03 +02:00
{
public class BlogEditCommentModel:Comment
{
[DisplayName("Prévisualiser")]
[Required]
public bool Preview { get; set; }
/* TODO Clean
public BlogEditCommentModel(Comment be) {
this.Preview = true;
this.Content = be.Content;
this.Posted = be.Posted;
this.Modified = be.Modified;
this.Visible = be.Visible;
this.From = be.From;
this.PostId = be.PostId;
this.Id = be.Id;
} */
}
}