using System;
using System.Configuration;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Yavsc.Model.Circles;
using System.Web.Mvc;
namespace Yavsc.Model.Blogs
{
///
/// Blog entry.
///
public class BlogEntry : BasePost {
///
/// Gets or sets the circles allowed to read this ticket.
/// An empty collection specifies a public post.
///
/// The circles.
[Display(Name="Cercles autorisés")]
public long[] AllowedCircles { get; set; }
///
/// Gets or sets the tags.
///
/// The tags.
public string [] Tags { get; set ; }
string content;
///
/// Gets or sets the content.
///
/// The content.
[DisplayName("Corps du billet")]
[Required(ErrorMessage = "S'il vous plait, saisissez un texte.")]
public string Content {
get {
return content;
}
set {
content = value;
}
}
}
}