添加codeFirst功能

This commit is contained in:
陈淳
2022-10-18 18:01:16 +08:00
parent dab4a092d9
commit ab8cdd88b9
25 changed files with 161 additions and 121 deletions

View File

@@ -22,22 +22,22 @@ namespace Yi.Framework.Model.Models
/// 配置名称
///</summary>
[SugarColumn(ColumnName="ConfigName" )]
public string ConfigName { get; set; }
public string? ConfigName { get; set; }
/// <summary>
/// 配置键
///</summary>
[SugarColumn(ColumnName="ConfigKey" )]
public string ConfigKey { get; set; }
public string? ConfigKey { get; set; }
/// <summary>
/// 配置值
///</summary>
[SugarColumn(ColumnName="ConfigValue" )]
public string ConfigValue { get; set; }
public string? ConfigValue { get; set; }
/// <summary>
/// 配置类别
///</summary>
[SugarColumn(ColumnName="ConfigType" )]
public string ConfigType { get; set; }
public string? ConfigType { get; set; }
/// <summary>
/// 创建者
///</summary>
@@ -77,6 +77,6 @@ namespace Yi.Framework.Model.Models
/// 描述
///</summary>
[SugarColumn(ColumnName="Remark" )]
public string Remark { get; set; }
public string? Remark { get; set; }
}
}