Files
OurUmbraco/uForum/Models/Forum.cs
T
ploug@umbraco.dk 56a2ace7d2 Initial commit of our WIP
This is very likely break the dev site
2015-01-26 13:13:06 +01:00

37 lines
836 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Persistence;
namespace uForum.Models
{
[TableName("forumForums")]
[PrimaryKey("id")]
[ExplicitColumns]
public class Forum
{
public string Title { get; set; }
public string Description { get; set; }
[Column("id")]
public int Id { get; set; }
[Column("parentId")]
public int ParentId { get; set; }
[Column("latestPostDate")]
public DateTime LatestPostDate { get; set; }
[Column("totalTopics")]
public int TotalTopics { get; set; }
[Column("totalComments")]
public int TotalComments { get; set; }
[Column("sortOrder")]
public int SortOrder { get; set; }
}
}