init
This commit is contained in:
13
DouyinApi.Model/Logs/GlobalErrorLog.cs
Normal file
13
DouyinApi.Model/Logs/GlobalErrorLog.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using DouyinApi.Model.Base;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DouyinApi.Model.Logs;
|
||||
|
||||
[Tenant("log")]
|
||||
[SplitTable(SplitType.Month)] //按月分表 (自带分表支持 年、季、月、周、日)
|
||||
[SugarTable($@"{nameof(GlobalErrorLog)}_{{year}}{{month}}{{day}}")]
|
||||
public class GlobalErrorLog : BaseLog
|
||||
{
|
||||
[SugarColumn(IsNullable = true, ColumnDataType = "longtext,text,clob")]
|
||||
public string Exception { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user