using System.ComponentModel.DataAnnotations;
using Timeline.Models.Validation;
namespace Timeline.Models.Http
{
    /// 
    /// Create timeline request model.
    /// 
    public class HttpTimelineCreateRequest
    {
        /// 
        /// Name of the new timeline. Must be a valid name.
        /// 
        [Required]
        [TimelineName]
        public string Name { get; set; } = default!;
    }
}