using System;
using System.ComponentModel.DataAnnotations;
using Timeline.Models.Validation;
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; }
///
/// Color of the post.
///
[Color]
public string? Color { get; set; }
}
}