aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-07 16:23:20 +0800
committercrupest <crupest@outlook.com>2021-01-07 16:23:20 +0800
commitdf1ef1e21d8d889a2c9abd440039533c6a43818f (patch)
treec483a2fff48ad952e787e5af1bb541d939a09f19 /BackEnd/Timeline/Models/Timeline.cs
parent9470631c67c4740982ff2d8a16cbbb86fdd34609 (diff)
downloadtimeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.tar.gz
timeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.tar.bz2
timeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.zip
史诗级重构!
Diffstat (limited to 'BackEnd/Timeline/Models/Timeline.cs')
-rw-r--r--BackEnd/Timeline/Models/Timeline.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Models/Timeline.cs b/BackEnd/Timeline/Models/Timeline.cs
new file mode 100644
index 00000000..fa3c0eb3
--- /dev/null
+++ b/BackEnd/Timeline/Models/Timeline.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace Timeline.Models
+{
+ public enum TimelineVisibility
+ {
+ /// <summary>
+ /// All people including those without accounts.
+ /// </summary>
+ Public,
+ /// <summary>
+ /// Only people signed in.
+ /// </summary>
+ Register,
+ /// <summary>
+ /// Only member.
+ /// </summary>
+ Private
+ }
+
+ public static class TimelinePostContentTypes
+ {
+ public const string Text = "text";
+ public const string Image = "image";
+ }
+}