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.

12 lines
414 B
C#

using SqlSugar;
namespace EntrustSettle.Model.Logs;
9 months ago
[Tenant(DBConst.LogDbConfigId)]
[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; }
}