yavsc/yavscModel/Blogs/Blog.cs

26 lines
345 B
C#
Raw Normal View History

2014-07-16 20:35:03 +02:00
using System;
using System.Configuration;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
namespace yavscModel.Blogs
2014-07-16 20:35:03 +02:00
{
public class Blog
{
string title;
[StringLength(512)]
2014-07-16 20:35:03 +02:00
[Required]
[DisplayName("Titre")]
public string Title {
get {
return title;
}
set {
title = value;
}
}
}
}