init
This commit is contained in:
15
DouyinApi.Model/Models/RootTkey/RootEntityTkey.cs
Normal file
15
DouyinApi.Model/Models/RootTkey/RootEntityTkey.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DouyinApi.Model
|
||||
{
|
||||
public class RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
|
||||
{
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// 泛型主键Tkey
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, IsPrimaryKey = true)]
|
||||
public Tkey Id { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user