using System;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Cloudcar.Admin.Commons.Core.DataManager;
using Znyc.Cloudcar.Admin.Commons.Entitys;
namespace Znyc.Cloudcar.Admin.Security.Entitys
{
///
/// 操作日志表
///
[AppDBContext("DefaultDb")]
[Table("operation_logs")]
[Serializable]
public class OperationLogsEntity : BaseEntity
{
///
/// 默认构造函数(需要初始化属性的在此处理)
///
public OperationLogsEntity()
{
IsDeleted = false;
CreatedTime = DateTime.Now;
ModifiedTime = DateTime.Now;
}
///
/// 操作类型
///
public string CRUD { get; set; }
///
/// 操作用户
///
public string UserName { get; set; }
///
/// 操作时间
///
public DateTime OperationTime { get; set; }
///
/// IP
///
public string IP { get; set; }
///
/// 主机
///
public string OS { get; set; }
///
/// 浏览器
///
public string Browser { get; set; }
///
/// 城市
///
public string City { get; set; }
///
/// 操作系统
///
public string UserAgent { get; set; }
///
/// 请求明细
///
public string RequertData { get; set; }
///
/// 请求url
///
public string RequestUrl { get; set; }
}
}