using System;

namespace HoneyBox.Admin.Models.Permission;

/// <summary>
/// 权限详情 DTO
/// </summary>
public class PermissionDto
{
    /// <summary>
    /// 权限ID
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 权限名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 权限编码
    /// </summary>
    public string Code { get; set; } = null!;

    /// <summary>
    /// 所属模块
    /// </summary>
    public string? Module { get; set; }

    /// <summary>
    /// 权限描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }
}
