Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/UserCenter/OaUserPermissions.cs

34 lines
928 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using LearningOfficer.OA.Core.Entities;
using LearningOfficer.OA.Common.Enums;
using LearningOfficer.OA.Common.Configs;
namespace LearningOfficer.OA.Core.Entities.UserCenter
{
/// <summary>
/// 用户学习官权限表
///</summary>
[SugarTable("oa_user_permissions"), Tenant(nameof(ConnectionStringsSettings.Db))]
public class OaUserPermissions : BaseEntity
{
/// <summary>
/// 备 注:用户id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "user_id")]
public long UserId { get; set; }
/// <summary>
/// 备 注:角色类型枚举值 1001部长 1002组长 1003学习官
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "role_enum")]
public SysRoleEnum RoleEnum { get; set; }
}
}