You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
524 B
C#
17 lines
524 B
C#
using SqlSugar;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace NPin.Framework.Upms.Domain.Entities;
|
|
|
|
[SugarTable("SysRelUserRole", "用户-角色 关系表")]
|
|
public class UserRoleEntity: Entity<Guid>
|
|
{
|
|
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
|
|
public override Guid Id { get; protected set; }
|
|
|
|
[SugarColumn(ColumnDescription = "角色ID")]
|
|
public Guid RoleId { get; set; }
|
|
|
|
[SugarColumn(ColumnDescription = "用户ID")]
|
|
public Guid UserId { get; set; }
|
|
} |