forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathWeChatSub.cs
More file actions
104 lines (94 loc) · 3.01 KB
/
WeChatSub.cs
File metadata and controls
104 lines (94 loc) · 3.01 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Blog.Core.Model.Models
{
///<summary>
///
///</summary>
[SugarTable("WeChatSub")]
public partial class WeChatSub
{
[SugarColumn(IsNullable = false,IsPrimaryKey = true)]
public string id { get; set; }
/// <summary>
/// 来自哪个公众号
/// </summary>
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string SubFromPublicAccount { get; set; }
/// <summary>
/// 绑定公司id
/// </summary>
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string CompanyID { get; set; }
/// <summary>
/// 绑定员工id
/// </summary>
[SugarColumn(Length = 100 , IsNullable = false, IndexGroupNameList = new string[] { "index" })]
public string SubJobID { get; set; }
/// <summary>
/// 绑定微信id
/// </summary>
[SugarColumn(Length = 100, IsNullable = false)]
public string SubUserOpenID { get; set; }
/// <summary>
/// 绑定微信联合id
/// </summary>
[SugarColumn(Length = 100, IsNullable = true)]
public string SubUserUnionID { get; set; }
/// <summary>
/// 绑定时间
/// </summary>
public DateTime SubUserRegTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? SubUserRefTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string SubUserRemark { get; set; }
/// <summary>
/// 是否已解绑
/// </summary>
public bool IsUnBind { get; set; }
/// <summary>
/// 上次绑定微信id
/// </summary>
[SugarColumn(Length = 100, IsNullable = true)]
public string LastSubUserOpenID { get; set; }
/// <summary>
/// 创建者id
/// </summary>
[SugarColumn(IsNullable = true)]
public int? CreateId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(IsNullable = true)]
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 修改者id
/// </summary>
[SugarColumn(IsNullable = true)]
public int? ModifyId { get; set; }
/// <summary>
/// 修改人
/// </summary>
[SugarColumn(IsNullable = true)]
public string ModifyBy { get; set; }
/// <summary>
/// 修改时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? ModifyTime { get; set; }
}
}