2015-03-02 16:15:15 +11:00
|
|
|
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; }
|
|
|
|
|
|
2015-03-02 16:58:14 +11:00
|
|
|
[ResultColumn("AuthorName")]
|
2015-03-02 16:15:15 +11:00
|
|
|
public string AuthorName { get; set; }
|
|
|
|
|
|
2015-03-02 16:58:14 +11:00
|
|
|
[ResultColumn("LastReplyAuthorName")]
|
2015-03-02 16:15:15 +11:00
|
|
|
public string LastReplyAuthorName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|