mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
29 lines
726 B
C#
29 lines
726 B
C#
|
using NServiceKit.DataAnnotations;
|
|||
|
using NServiceKit.DesignPatterns.Model;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.Linq;
|
|||
|
using System.Web;
|
|||
|
using System.Web.Mvc;
|
|||
|
using Required = System.ComponentModel.DataAnnotations.RequiredAttribute;
|
|||
|
|
|||
|
namespace BuildFeed.Models
|
|||
|
{
|
|||
|
[DataObject]
|
|||
|
public class LabMeta : IHasId<string>
|
|||
|
{
|
|||
|
[Key]
|
|||
|
[Index]
|
|||
|
[@Required]
|
|||
|
public string Id { get; set; }
|
|||
|
|
|||
|
[DisplayName("Page Content")]
|
|||
|
[AllowHtml]
|
|||
|
public string PageContent { get; set; }
|
|||
|
|
|||
|
[DisplayName("Meta Description")]
|
|||
|
public string MetaDescription { get; set; }
|
|||
|
}
|
|||
|
}
|