using System; using System.ComponentModel.DataAnnotations; namespace Timeline.Models.Http { public class HttpTimelinePostCreateRequest { /// /// Content of the new post. /// [Required] public HttpTimelinePostCreateRequestContent Content { get; set; } = default!; /// /// Time of the post. If not set, current time will be used. /// public DateTime? Time { get; set; } } }