Files
shgx_tz_mes_backend_sync/ZR.Model/System/SysConfig.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2024-06-07 11:04:26 +08:00
namespace ZR.Model.System
2021-09-30 14:55:24 +08:00
{
/// <summary>
/// 参数配置,数据实体对象
///
2023-05-04 18:20:18 +08:00
/// @author mr.zhao
2021-09-30 14:55:24 +08:00
/// @date 2021-09-29
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarTable("sys_config", "配置表")]
2021-11-27 09:43:04 +08:00
[Tenant("0")]
2023-05-04 18:20:18 +08:00
public class SysConfig : SysBase
2021-09-30 14:55:24 +08:00
{
/// <summary>
2023-05-04 18:20:18 +08:00
/// 配置id
2021-09-30 14:55:24 +08:00
/// </summary>
2023-05-04 18:20:18 +08:00
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
2021-09-30 14:55:24 +08:00
public int ConfigId { get; set; }
/// <summary>
2023-05-04 18:20:18 +08:00
/// 参数名称
2021-09-30 14:55:24 +08:00
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100)]
2021-09-30 14:55:24 +08:00
public string ConfigName { get; set; }
/// <summary>
2023-05-04 18:20:18 +08:00
/// 参数键名
2021-09-30 14:55:24 +08:00
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 100)]
2021-09-30 14:55:24 +08:00
public string ConfigKey { get; set; }
/// <summary>
2023-05-04 18:20:18 +08:00
/// 参数键值
2021-09-30 14:55:24 +08:00
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 500)]
2021-09-30 14:55:24 +08:00
public string ConfigValue { get; set; }
/// <summary>
2023-05-04 18:20:18 +08:00
/// 系统内置Y是 N否
2021-09-30 14:55:24 +08:00
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarColumn(Length = 1)]
2021-09-30 14:55:24 +08:00
public string ConfigType { get; set; }
2023-05-04 18:20:18 +08:00
2021-09-30 14:55:24 +08:00
}
}