You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.8 KiB
76 lines
1.8 KiB
2 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using Znyc.Recruitment.Admin.Commons.Core.DataManager;
|
||
|
using Znyc.Recruitment.Admin.Commons.Entitys;
|
||
|
|
||
|
namespace Znyc.Recruitment.Admin.Security.Entitys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 操作日志表
|
||
|
/// </summary>
|
||
|
[AppDBContext("DefaultDb")]
|
||
|
[Table("rm_operation_logs")]
|
||
|
[Serializable]
|
||
|
public class OperationLogsEntity : BaseEntity
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 默认构造函数(需要初始化属性的在此处理)
|
||
|
/// </summary>
|
||
|
public OperationLogsEntity()
|
||
|
{
|
||
|
IsDeleted = false;
|
||
|
CreatedTime = DateTime.Now;
|
||
|
ModifiedTime = DateTime.Now;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 操作类型
|
||
|
/// </summary>
|
||
|
public string CRUD { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 操作用户
|
||
|
/// </summary>
|
||
|
public string UserName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 操作时间
|
||
|
/// </summary>
|
||
|
public DateTime OperationTime { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// IP
|
||
|
/// </summary>
|
||
|
public string IP { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 主机
|
||
|
/// </summary>
|
||
|
public string OS { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 浏览器
|
||
|
/// </summary>
|
||
|
public string Browser { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 城市
|
||
|
/// </summary>
|
||
|
public string City { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 操作系统
|
||
|
/// </summary>
|
||
|
public string UserAgent { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 请求明细
|
||
|
/// </summary>
|
||
|
public string RequertData { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 请求url
|
||
|
/// </summary>
|
||
|
public string RequestUrl { get; set; }
|
||
|
}
|
||
|
}
|