From c6a4b88794cb87c25757542ad0642e9df56ddf0f Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 4 Feb 2021 21:26:01 +0800 Subject: ... --- BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs') diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs index cfbec029..b25adf36 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequest.cs @@ -1,5 +1,6 @@ using System; using System.ComponentModel.DataAnnotations; +using Timeline.Models.Validation; namespace Timeline.Models.Http { @@ -15,5 +16,11 @@ namespace Timeline.Models.Http /// 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; } } } -- cgit v1.2.3