mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
pgsql CodeFirst 适配中
This commit is contained in:
18
FreeSql/DatabaseModel/DbEnumInfo.cs
Normal file
18
FreeSql/DatabaseModel/DbEnumInfo.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FreeSql.DatabaseModel {
|
||||
public class DbEnumInfo {
|
||||
|
||||
/// <summary>
|
||||
/// 枚举类型标识
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 枚举项
|
||||
/// </summary>
|
||||
public Dictionary<string, string> Labels { get; set; }
|
||||
}
|
||||
}
|
18
FreeSql/DatabaseModel/DbTypeInfo.cs
Normal file
18
FreeSql/DatabaseModel/DbTypeInfo.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FreeSql.DatabaseModel {
|
||||
public class DbTypeInfo {
|
||||
|
||||
/// <summary>
|
||||
/// 类型标识
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 枚举项
|
||||
/// </summary>
|
||||
public List<(string label, string value)> Labels { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user