forked from anjoy8/Blog.Core
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathWeChatConfig.cs
More file actions
110 lines (98 loc) · 2.98 KB
/
WeChatConfig.cs
File metadata and controls
110 lines (98 loc) · 2.98 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
105
106
107
108
109
110
using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Blog.Core.Model.Models
{
///<summary>
///
///</summary>
[SugarTable("WeChatConfig")]
public class WeChatConfig
{
/// <summary>
/// 微信公众号唯一标识
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 100, IsNullable = false)]
public string publicAccount { get; set; }
/// <summary>
/// 微信公众号名称
/// </summary>
[SugarColumn(Length = 200, IsNullable = false)]
public string publicNick { get; set; }
/// <summary>
/// 微信账号
/// </summary>
[SugarColumn(Length = 100, IsNullable = false)]
public string weChatAccount { get; set; }
/// <summary>
/// 微信名称
/// </summary>
[SugarColumn(Length = 200)]
public string weChatNick { get; set; }
/// <summary>
/// 应用ID
/// </summary>
[SugarColumn(Length = 100)]
public string appid { get; set; }
/// <summary>
/// 应用秘钥
/// </summary>
[SugarColumn(Length = 100, IsNullable = false)]
public string appsecret { get; set; }
/// <summary>
/// 公众号推送token
/// </summary>
[SugarColumn(Length = 100, IsNullable = true)]
public string token { get; set; }
/// <summary>
/// 验证秘钥(验证消息是否真实)
/// </summary>
[SugarColumn(Length = 100, IsNullable = false)]
public string interactiveToken { get; set; }
/// <summary>
/// 微信公众号token过期时间
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? tokenExpiration { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(Length = 200,IsNullable = true)]
public string remark { get; set; }
/// <summary>
/// 是否激活
/// </summary>
public bool Enabled { 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; }
}
}