/
ThreadPost.cs
34 lines (33 loc) · 1.37 KB
/
ThreadPost.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ReSharper disable UnusedAutoPropertyAccessor.Global
using TbClient.Post.Common;
namespace tbm.Crawler.Db.Post
{
public class ThreadPost : IPost
{
public object Clone() => MemberwiseClone();
[Key] public ulong Tid { get; set; }
[NotMapped] public ulong? FirstReplyPid { get; set; }
[NotMapped] public RepeatedField<Abstract>? FirstReplyExcerpt { get; set; }
public ulong ThreadType { get; set; }
public string? StickyType { get; set; }
public string? TopicType { get; set; }
public ushort? IsGood { get; set; }
public string Title { get; set; } = "";
public long AuthorUid { get; set; }
[NotMapped] public string? AuthorManagerType { get; set; }
public string? AuthorPhoneType { get; set; }
public uint PostTime { get; set; }
public uint LatestReplyTime { get; set; }
public long? LatestReplierUid { get; set; }
public uint? ReplyCount { get; set; }
public uint? ViewCount { get; set; }
public uint? ShareCount { get; set; }
public int? AgreeCount { get; set; }
public int? DisagreeCount { get; set; }
public byte[]? Zan { get; set; }
public byte[]? Geolocation { get; set; }
public uint CreatedAt { get; set; }
public uint? UpdatedAt { get; set; }
public uint? LastSeen { get; set; }
}
}