yavsc/src/Yavsc.Server/ViewModels/BlogSpot/BlogPostInputViewModel.cs

26 lines
601 B
C#

1 year ago
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Models.Access;
namespace Yavsc.ViewModels.Blog
{
public class BlogPostInputViewModel
{
[StringLength(1024)]
public string? Photo { get; set; }
1 year ago
[StringLength(1024)]
public string Title { get; set; }
1 year ago
[StringLength(56224)]
public string Content { get; set; }
1 year ago
[InverseProperty("Target")]
[Display(Name="Liste de contrôle d'accès")]
public virtual List<CircleAuthorizationToBlogPost>? ACL { get; set; }
1 year ago
}
}