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
commit97010e98a11ad6fd6c075cee414c30174001fe5d (patch)
tree28ef20f9dfe742008bb934f09b99d1d4719cabaa /Timeline/Entities/TimelineEntity.cs
parent1c880744293c9f47ff1241109b72c035680251df (diff)
parentbe8cbe2c4ddf2076cc02bcb2feb1a70d30a4bda0 (diff)
downloadtimeline-97010e98a11ad6fd6c075cee414c30174001fe5d.tar.gz
timeline-97010e98a11ad6fd6c075cee414c30174001fe5d.tar.bz2
timeline-97010e98a11ad6fd6c075cee414c30174001fe5d.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
}