招聘后台
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.
 
 

85 lines
2.0 KiB

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("sys_log")]
[Serializable]
public class LogEntity : BaseEntity
{
/// <summary>
/// 默认构造函数(需要初始化属性的在此处理)
/// </summary>
public LogEntity()
{
IsDeleted = true;
CreatedTime = DateTime.Now;
}
/// <summary>
/// 日期
/// </summary>
public DateTime? Date { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string Account { get; set; }
/// <summary>
/// 姓名
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 组织主键
/// </summary>
public long OrganizeId { get; set; }
/// <summary>
/// 类型
/// </summary>
public string Type { get; set; }
/// <summary>
/// IP地址
/// </summary>
public string IPAddress { get; set; }
/// <summary>
/// IP所在城市
/// </summary>
public string IPAddressName { get; set; }
/// <summary>
/// 系统模块Id
/// </summary>
public long ModuleId { get; set; }
/// <summary>
/// 系统模块
/// </summary>
public string ModuleName { get; set; }
/// <summary>
/// 结果
/// </summary>
public bool? Result { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 有效标志
/// </summary>
public bool IsEnabled { get; set; }
}
}