aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/TimelineEntity.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2020-02-03 18:38:14 +0800
committerGitHub <noreply@github.com>2020-02-03 18:38:14 +0800
commite5fb17ddfc3d1ecf0b283c8cc1a91fb2a2a03236 (patch)
tree28ef20f9dfe742008bb934f09b99d1d4719cabaa /Timeline/Entities/TimelineEntity.cs
parent673fa5f0645308bfa8d17dc4e0e145bbaf239329 (diff)
parent86c4e7834bf25b900af03edc53aea3f37f645334 (diff)
downloadtimeline-e5fb17ddfc3d1ecf0b283c8cc1a91fb2a2a03236.tar.gz
timeline-e5fb17ddfc3d1ecf0b283c8cc1a91fb2a2a03236.tar.bz2
timeline-e5fb17ddfc3d1ecf0b283c8cc1a91fb2a2a03236.zip
Merge pull request #57 from crupest/dev
Add normal timeline feature.
Diffstat (limited to 'Timeline/Entities/TimelineEntity.cs')
-rw-r--r--Timeline/Entities/TimelineEntity.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Timeline/Entities/TimelineEntity.cs b/Timeline/Entities/TimelineEntity.cs
index c50fe6dd..0b252bab 100644
--- a/Timeline/Entities/TimelineEntity.cs
+++ b/Timeline/Entities/TimelineEntity.cs
@@ -6,7 +6,8 @@ using Timeline.Models.Http;
namespace Timeline.Entities
{
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "This is entity object.")]
+#pragma warning disable CA2227 // Collection properties should be read only
+ // TODO: Create index for this table.
[Table("timelines")]
public class TimelineEntity
{
@@ -38,4 +39,5 @@ namespace Timeline.Entities
public List<TimelinePostEntity> Posts { get; set; } = default!;
}
+#pragma warning restore CA2227 // Collection properties should be read only
}