using System; using Timeline.Models.Validation; namespace Timeline.Models.Http { public class HttpTimelinePostPatchRequest { /// /// Change the time. Null for not change. /// public DateTime? Time { get; set; } /// /// Change the color. Null for not change. /// [Color(PermitEmpty = true, PermitDefault = true)] public string? Color { get; set; } } }