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; }
|
}
|