forked from shuyu-labs/WebCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserFeishuBotConfigEntity.cs
More file actions
53 lines (37 loc) · 1.65 KB
/
UserFeishuBotConfigEntity.cs
File metadata and controls
53 lines (37 loc) · 1.65 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
using SqlSugar;
namespace WebCodeCli.Domain.Repositories.Base.UserFeishuBotConfig;
[SugarTable("UserFeishuBotConfig")]
[SugarIndex("IX_UserFeishuBotConfig_Username", nameof(Username), OrderByType.Asc, IsUnique = true)]
public class UserFeishuBotConfigEntity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
[SugarColumn(Length = 128, IsNullable = false)]
public string Username { get; set; } = string.Empty;
[SugarColumn(IsNullable = false)]
public bool IsEnabled { get; set; } = true;
[SugarColumn(IsNullable = false)]
public bool AutoStartEnabled { get; set; }
[SugarColumn(Length = 128, IsNullable = true)]
public string? AppId { get; set; }
[SugarColumn(Length = 256, IsNullable = true)]
public string? AppSecret { get; set; }
[SugarColumn(Length = 256, IsNullable = true)]
public string? EncryptKey { get; set; }
[SugarColumn(Length = 256, IsNullable = true)]
public string? VerificationToken { get; set; }
[SugarColumn(Length = 256, IsNullable = true)]
public string? DefaultCardTitle { get; set; }
[SugarColumn(Length = 256, IsNullable = true)]
public string? ThinkingMessage { get; set; }
[SugarColumn(IsNullable = true)]
public int? HttpTimeoutSeconds { get; set; }
[SugarColumn(IsNullable = true)]
public int? StreamingThrottleMs { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime? LastStartedAt { get; set; }
[SugarColumn(IsNullable = false)]
public DateTime CreatedAt { get; set; } = DateTime.Now;
[SugarColumn(IsNullable = false)]
public DateTime UpdatedAt { get; set; } = DateTime.Now;
}