init
This commit is contained in:
21
DouyinApi.Model/Models/RootTkey/UserRoleRoot.cs
Normal file
21
DouyinApi.Model/Models/RootTkey/UserRoleRoot.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace DouyinApi.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户跟角色关联表
|
||||
/// 父类
|
||||
/// </summary>
|
||||
public class UserRoleRoot<Tkey> : RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
public Tkey UserId { get; set; }
|
||||
/// <summary>
|
||||
/// 角色ID
|
||||
/// </summary>
|
||||
public Tkey RoleId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user