mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
- Importing patch from smwhit for issue 16373
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Orchard.ContentManagement.Records;
|
||||
using Orchard.Data.Conventions;
|
||||
|
||||
namespace Orchard.Comments.Models {
|
||||
public class CommentRecord : ContentPartRecord {
|
||||
@@ -9,6 +10,7 @@ namespace Orchard.Comments.Models {
|
||||
public virtual string Email { get; set; }
|
||||
public virtual CommentStatus Status { get; set; }
|
||||
public virtual DateTime? CommentDateUtc { get; set; }
|
||||
[StringLengthMax]
|
||||
public virtual string CommentText { get; set; }
|
||||
public virtual int CommentedOn { get; set; }
|
||||
public virtual int CommentedOnContainer { get; set; }
|
||||
|
Reference in New Issue
Block a user