yavsc/src/Yavsc.Server/Models/Relationship/HyperLink.cs
Paul Schneider 40e8e08690 reorg
2026-02-28 21:17:54 +00:00

28 lines
882 B
C#

using System.ComponentModel.DataAnnotations;
using Yavsc.Attributes.Validation;
namespace Yavsc.Models.Relationship
{
public partial class HyperLink
{
[YaStringLength(5,1024)]
[Display(Name="HRefDisplayName", ResourceType=typeof(HyperLink),
Prompt="http://some.web.site")]
public string HRef { get; set; }
[YaStringLength(0,12)]
[Display(Name="MethodDisplayName", ResourceType=typeof(HyperLink), Prompt="GET")]
public string Method { get; set; }
[YaStringLength(0,25)]
[Display(Name="RelDisplayName", ResourceType=typeof(HyperLink),
Prompt="href")]
public string Rel { get; set; }
[YaStringLength(3,50)]
[Display(Name="ContentTypeDisplayName", ResourceType=typeof(HyperLink),
Prompt="text/html")]
public string ContentType { get; set; }
}
}