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.
41 lines
1.0 KiB
41 lines
1.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("rm_db_logs")]
|
|
[Serializable]
|
|
public class DbLogsEntity : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 默认构造函数(需要初始化属性的在此处理)
|
|
/// </summary>
|
|
public DbLogsEntity()
|
|
{
|
|
IsDeleted = false;
|
|
CreatedTime = DateTime.Now;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 所属用户
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// SQL语句
|
|
/// </summary>
|
|
public string SQL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 执行时间
|
|
/// </summary>
|
|
|
|
public DateTime ExecuteDate { get; set; }
|
|
}
|
|
}
|