SystemLog.cs 679 B

12345678910111213141516171819202122232425
  1. using System.ComponentModel.DataAnnotations;
  2. using SqlSugar;
  3. using static EasyTemplate.Tool.Entity.PublicEnum;
  4. namespace EasyTemplate.Tool.Entity;
  5. /// <summary>
  6. /// 系统日志,记录一般情况
  7. /// </summary>
  8. [SugarTable(null, "系统日志,记录一般情况")]
  9. public class SystemLog : EntityBaseLite
  10. {
  11. /// <summary>
  12. /// 日志信息
  13. /// </summary>
  14. [SugarColumn(ColumnDescription = "日志信息", IsNullable = true)]
  15. public string Info { get; set; }
  16. /// <summary>
  17. /// 日志类型
  18. /// </summary>
  19. [SugarColumn(ColumnDescription = "角色类型", DefaultValue ="1", IsNullable = true)]
  20. public string LogType { get; set; }
  21. }