2017-05-31 01:00:56 +02:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2019-06-21 09:20:13 +01:00
|
|
|
using Yavsc.Attributes.Validation;
|
2017-05-31 01:00:56 +02:00
|
|
|
|
2017-05-15 13:36:14 +02:00
|
|
|
namespace Yavsc.Models.Relationship
|
|
|
|
|
{
|
2019-06-21 09:20:13 +01:00
|
|
|
public partial class HyperLink
|
2017-05-15 13:36:14 +02:00
|
|
|
{
|
2019-06-21 09:20:13 +01:00
|
|
|
[YaStringLength(5,1024)]
|
|
|
|
|
[Display(Name="HRefDisplayName", ResourceType=typeof(HyperLink),
|
|
|
|
|
Prompt="http://some.web.site")]
|
2017-05-15 13:36:14 +02:00
|
|
|
public string HRef { get; set; }
|
2017-05-31 01:00:56 +02:00
|
|
|
|
2019-06-22 19:34:39 +01:00
|
|
|
[YaStringLength(0,12)]
|
2019-06-21 09:20:13 +01:00
|
|
|
[Display(Name="MethodDisplayName", ResourceType=typeof(HyperLink), Prompt="GET")]
|
2017-05-15 13:36:14 +02:00
|
|
|
public string Method { get; set; }
|
|
|
|
|
|
2019-06-22 19:34:39 +01:00
|
|
|
[YaStringLength(0,25)]
|
2019-06-21 09:20:13 +01:00
|
|
|
[Display(Name="RelDisplayName", ResourceType=typeof(HyperLink),
|
|
|
|
|
Prompt="href")]
|
2017-05-31 01:00:56 +02:00
|
|
|
public string Rel { get; set; }
|
|
|
|
|
|
2019-06-21 09:20:13 +01:00
|
|
|
[YaStringLength(3,50)]
|
|
|
|
|
[Display(Name="ContentTypeDisplayName", ResourceType=typeof(HyperLink),
|
|
|
|
|
Prompt="text/html")]
|
2017-05-31 01:00:56 +02:00
|
|
|
public string ContentType { get; set; }
|
|
|
|
|
|
2017-05-15 13:36:14 +02:00
|
|
|
}
|
|
|
|
|
}
|