27 lines
563 B
C#
27 lines
563 B
C#
|
12 years ago
|
using System;
|
||
|
|
using System.ComponentModel;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
using Npgsql.Web.Blog.DataModel;
|
||
|
|
|
||
|
|
namespace yavscModel
|
||
|
|
{
|
||
|
|
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;
|
||
|
|
} */
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|