You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
577 B
C#
25 lines
577 B
C#
namespace DB.Entity
|
|
{
|
|
public class Log:BaseChimsDb
|
|
{
|
|
public string LogLevel { get; set; }
|
|
public string Msg { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 1到100 系统功能日志
|
|
/// 400 系统错误日志
|
|
///
|
|
/// </summary>
|
|
public short LogType { get; set; }
|
|
}
|
|
|
|
public class LogMapper : SystemEntityTypeBuilder<Log>
|
|
{
|
|
public LogMapper() : base("Log")
|
|
{
|
|
this.Property(x => x.Msg).HasSize(500);
|
|
this.Property(x => x.LogLevel).HasSize(10);
|
|
}
|
|
}
|
|
} |