lq1405 a37c40a2ef V1.0.6
添加重置用户每月的免费换绑次数
优化项目结构
2025-03-24 16:53:32 +08:00

48 lines
1.1 KiB
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.ComponentModel.DataAnnotations;
using static LMS.Common.Enums.PermissionEnum;
namespace LMS.Repository.Promission
{
public class PermissionModel
{
/// <summary>
/// 角色ID
/// </summary>
public long? RoleId { get; set; }
/// <summary>
/// 用户的ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 机器码的ID是ID不是机器码
/// </summary>
public string? MachineId { get; set; }
/// <summary>
/// 权限类型的ID子权限
/// </summary>
[Required]
public List<string> PermissionTypeIds { get; set; }
/// <summary>
/// 权限对应的Code
/// </summary>
[Required]
public string PermissionCode { get; set; }
/// <summary>
/// 权限类型
/// </summary>
[Required]
public PType Type { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
}
}