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.

33 lines
1.3 KiB

using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
/// <summary>
/// 数据库日志表
/// </summary>
[Table(Name = "rm_db_logs")]
public class DbLogsEntity : EntityBase
{
/// <summary>
/// 所属用户
/// </summary>
[Column(StringLength = 15)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“UserName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string UserName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“UserName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// SQL语句
/// </summary>
[Column(StringLength = 255)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“SQL”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string SQL { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“SQL”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 执行时间
/// </summary>
public int ExecuteDate { get; set; }
}
}