25 lines
610 B
C#
25 lines
610 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
namespace WGShare.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 用户权限关系表
|
|
///</summary>
|
|
[SugarTable("user_perm")]
|
|
public class UserPrem
|
|
{
|
|
/// <summary>
|
|
/// 用户Id
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "user_id", IsPrimaryKey = true)]
|
|
public string UserId { get; set; }
|
|
/// <summary>
|
|
/// 权限Id
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "perm_id", IsPrimaryKey = true)]
|
|
public string PermId { get; set; }
|
|
}
|
|
}
|