mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 调整 移除对 System.ValueType 的依赖,减少版本冲突问题;(目前 FreeSql.dll 无任何公用库依赖)
This commit is contained in:
@ -13,6 +13,18 @@ namespace FreeSql.DatabaseModel
|
||||
/// <summary>
|
||||
/// 枚举项
|
||||
/// </summary>
|
||||
public List<(string label, string value)> Labels { get; set; }
|
||||
public List<LabelInfo> Labels { get; set; }
|
||||
|
||||
public class LabelInfo
|
||||
{
|
||||
public string label { get; }
|
||||
public string value { get; }
|
||||
|
||||
public LabelInfo(string label, string value)
|
||||
{
|
||||
this.label = label;
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user