2022-04-23 00:57:14 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
namespace Yi.Framework.Model.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 日志表
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SplitTable(SplitType.Year)]
|
|
|
|
|
|
[SugarTable("SplitLog_{year}{month}{day}")]
|
2022-04-24 16:44:16 +08:00
|
|
|
|
public partial class LogEntity
|
2022-04-23 00:57:14 +08:00
|
|
|
|
{
|
|
|
|
|
|
[SplitField] //分表字段 在插入的时候会根据这个字段插入哪个表,在更新删除的时候用这个字段找出相关表
|
2022-09-09 15:53:11 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
///</summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "CreateTime")]
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
2022-04-24 16:44:16 +08:00
|
|
|
|
|
2022-04-23 00:57:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|