Files
OurUmbraco/uForum/Models/ReadOnlyTopic.cs
T
2015-03-02 16:58:14 +11:00

20 lines
528 B
C#

using System.Collections.Generic;
using Umbraco.Core.Persistence;
namespace uForum.Models
{
/// <summary>
/// A topic with all of it's data including comments and author names
/// </summary>
public class ReadOnlyTopic : Topic
{
[ResultColumn]
public List<ReadOnlyComment> Comments { get; set; }
[ResultColumn("AuthorName")]
public string AuthorName { get; set; }
[ResultColumn("LastReplyAuthorName")]
public string LastReplyAuthorName { get; set; }
}
}