diff options
author | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
commit | 872f0e9f094f37db9ff208d178ad5bea2fafc1a7 (patch) | |
tree | 27291dc4105e64ca3ed6ed43a8822cb911ed49a9 /BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs | |
parent | 253b06dfaa091d986a8714c081fd1e01679f538a (diff) | |
download | timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.gz timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.bz2 timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs new file mode 100644 index 00000000..94ee5aa7 --- /dev/null +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs @@ -0,0 +1,19 @@ +using System.ComponentModel.DataAnnotations;
+
+namespace Timeline.Models.Http
+{
+ public class HttpTimelinePostCreateRequestData
+ {
+ /// <summary>
+ /// Mime type of the data.
+ /// </summary>
+ [Required]
+ public string ContentType { get; set; } = default!;
+
+ /// <summary>
+ /// Base64 of data.
+ /// </summary>
+ [Required]
+ public string Data { get; set; } = default!;
+ }
+}
|