codeFirst实体建表

This commit is contained in:
不做码农
2023-06-07 22:28:06 +08:00
parent 628df80df7
commit b96edfdac7
47 changed files with 688 additions and 194 deletions

View File

@@ -8,7 +8,7 @@ namespace ZR.Model.System
/// @author mr.zhao
/// @date 2021-09-29
/// </summary>
[SugarTable("sys_config")]
[SugarTable("sys_config", "配置表")]
[Tenant("0")]
public class SysConfig : SysBase
{
@@ -20,18 +20,22 @@ namespace ZR.Model.System
/// <summary>
/// 参数名称
/// </summary>
[SugarColumn(Length = 100)]
public string ConfigName { get; set; }
/// <summary>
/// 参数键名
/// </summary>
[SugarColumn(Length = 100)]
public string ConfigKey { get; set; }
/// <summary>
/// 参数键值
/// </summary>
[SugarColumn(Length = 500)]
public string ConfigValue { get; set; }
/// <summary>
/// 系统内置Y是 N否
/// </summary>
[SugarColumn(Length = 1)]
public string ConfigType { get; set; }
}