27 lines
345 B
C#
27 lines
345 B
C#
10 years ago
|
using System;
|
||
|
using System.Configuration;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel;
|
||
|
|
||
10 years ago
|
namespace yavscModel.Blogs
|
||
10 years ago
|
{
|
||
|
public class Blog
|
||
|
{
|
||
|
string title;
|
||
|
|
||
10 years ago
|
[StringLength(512)]
|
||
10 years ago
|
[Required]
|
||
|
[DisplayName("Titre")]
|
||
|
public string Title {
|
||
|
get {
|
||
|
return title;
|
||
|
}
|
||
|
set {
|
||
|
title = value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|