去掉IDE1006警告,修改BaseEntity
This commit is contained in:
@@ -8,13 +8,13 @@ using SqlSugar;
|
||||
|
||||
namespace Tnb.Common.Contracts
|
||||
{
|
||||
public class BaseEntity<TKey> : IEntity<TKey> where TKey : IEquatable<TKey>
|
||||
public class BaseEntity<TKey> : IEntity where TKey : IEquatable<TKey>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 编号.
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true)]
|
||||
public TKey Id { get; set; }
|
||||
public TKey id { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user