namespace DB.Entity
{
public class Log:BaseChimsDb
{
public string LogLevel { get; set; }
public string Msg { get; set; }
///
/// 1到100 系统功能日志
/// 400 系统错误日志
///
///
public short LogType { get; set; }
}
public class LogMapper : SystemEntityTypeBuilder
{
public LogMapper() : base("Log")
{
this.Property(x => x.Msg).HasSize(500);
this.Property(x => x.LogLevel).HasSize(10);
}
}
}