You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.4 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service;
/// <summary>
/// 操作日志列表
/// </summary>
public class OpLogPageListDto
{
public long Id { get; set; }
/// <summary>
/// 请求方式GET POST PUT DELETE)
/// </summary>
public string ReqMethod { get; set; }
/// <summary>
/// 操作人名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 是否执行成功Y-是N-否)
/// </summary>
public YesOrNot Success { get; set; }
/// <summary>
/// ip
/// </summary>
public string Ip { get; set; }
/// <summary>
/// 请求地址
/// </summary>
public string Url { get; set; }
/// <summary>
/// 操作时间
/// </summary>
public DateTime OpTime { get; set; }
/// <summary>
/// 操作人账号
/// </summary>
public string Account { get; set; }
}
/// <summary>
/// 操作日志详情
/// </summary>
public class OpLogDetailDto
{
public long Id { get; set; }
/// <summary>
/// 浏览器
/// </summary>
public string Browser { get; set; }
/// <summary>
/// 操作系统
/// </summary>
public string Os { get; set; }
/// <summary>
/// 请求参数
/// </summary>
public string Param { get; set; }
/// <summary>
/// 返回结果
/// </summary>
public string Result { get; set; }
}