Localization
This commit is contained in:
@ -1,19 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Yavsc.Attributes.Validation;
|
||||
|
||||
namespace Yavsc.Models.Relationship
|
||||
{
|
||||
public class HyperLink
|
||||
public partial class HyperLink
|
||||
{
|
||||
[Display(Name="Hyper référence")]
|
||||
[YaStringLength(5,1024)]
|
||||
[Display(Name="HRefDisplayName", ResourceType=typeof(HyperLink),
|
||||
Prompt="http://some.web.site")]
|
||||
public string HRef { get; set; }
|
||||
|
||||
[Display(Name="Methode Http attendue coté serveur")]
|
||||
[YaStringLength(5,1024)]
|
||||
[Display(Name="MethodDisplayName", ResourceType=typeof(HyperLink), Prompt="GET")]
|
||||
public string Method { get; set; }
|
||||
|
||||
[Display(Name="Classe de lien")]
|
||||
[YaStringLength(5,25)]
|
||||
[Display(Name="RelDisplayName", ResourceType=typeof(HyperLink),
|
||||
Prompt="href")]
|
||||
public string Rel { get; set; }
|
||||
|
||||
[Display(Name="Type mime du contenu attendu côté client")]
|
||||
[YaStringLength(3,50)]
|
||||
[Display(Name="ContentTypeDisplayName", ResourceType=typeof(HyperLink),
|
||||
Prompt="text/html")]
|
||||
public string ContentType { get; set; }
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user