网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using Dpz.Core.Infrastructure;
using Dpz.Core.Public.Entity;
using JetBrains.Annotations;

namespace Dpz.Core.Public.ViewModel;

[UsedImplicitly]
public class VmBlock : IMapFrom<Block>
{
    public string Id { get; set; }

    /// <summary>
    /// 请求方法
    /// </summary>
    public string RequestMethod { get; set; }

    /// <summary>
    /// 请求地址
    /// </summary>
    public string RequestPath { get; set; }

    /// <summary>
    /// 请求IP
    /// </summary>
    public string[] IpAddresses { get; set; } = [];

    /// <summary>
    /// User-Agent
    /// </summary>
    public string[] UserAgents { get; set; } = [];

    /// <summary>
    /// 访问次数
    /// </summary>
    public int AccessCount { get; set; }
}
loading