diff options
author | crupest <crupest@outlook.com> | 2020-02-02 14:35:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-02-02 14:35:30 +0800 |
commit | b9dc0062241f4dcf5221808d97a7e4c337a8b6cc (patch) | |
tree | 06388f533584b06a185c5908603423af158f671a /Timeline/Entities/TimelineEntity.cs | |
parent | e71cb8e368d081747014f1434c5ee157660783f2 (diff) | |
download | timeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.tar.gz timeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.tar.bz2 timeline-b9dc0062241f4dcf5221808d97a7e4c337a8b6cc.zip |
Add timeline service.
Diffstat (limited to 'Timeline/Entities/TimelineEntity.cs')
-rw-r--r-- | Timeline/Entities/TimelineEntity.cs | 4 |
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
}
|