刘磊
2025-04-19 823752496e2a4cdb6a1fb36227cd15b8b7135336
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;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models;
 
/// <summary>
/// 系统配置表
/// </summary>
[SugarTable("Sys_Config", "系统配置表")]
public class Sys_Config : BaseEntity
{
    /// <summary>
    /// 主键
    /// </summary>
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
    public int Id { get; set; }
 
    /// <summary>
    /// 配置键
    /// </summary>
    [SugarColumn(ColumnDescription = "配置键", Length = 255, IsNullable = false)]
    public string ConfigKey { get; set; }
 
    /// <summary>
    /// 配置值
    /// </summary>
    [SugarColumn(ColumnDescription = "配置值", IsNullable = false, ColumnDataType = "text")]
    public string ConfigValue { get; set; }
 
    /// <summary>
    /// 分类
    /// </summary>
    [SugarColumn(ColumnDescription = "分类", Length = 255, IsNullable = false)]
    public string Category { get; set; }
 
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDescription = "备注", Length = 255, IsNullable = true)]
    public string Remark { get; set; }
 
    /// <summary>
    /// 排序码
    /// </summary>
    [SugarColumn(ColumnDescription = "排序码", IsNullable = true)]
    public int? SortCode { get; set; }
 
    /// <summary>
    /// 状态
    /// </summary>
    [SugarColumn(ColumnDescription = "状态", Length = 20, IsNullable = true)]
    public string Status { get; set; }
}