集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

46 lines
1.3 KiB

  1. namespace BPA.MES.Base.Application.Entitys
  2. {
  3. /// <summary>
  4. /// 名 称 :运行日志
  5. /// 创 建 人 :yangxiao
  6. /// 创建时间 : 2023/8/21 10:18:34
  7. /// 描 述 :
  8. /// </summary>
  9. [SplitTable(SplitType.Month)]
  10. //[SugarTable("runlog_{year}{month}{day}")]
  11. [SugarTable("runlog")]
  12. public class RunLogEntity : DEntityBase
  13. {
  14. /// <summary>
  15. /// 日志类别
  16. /// </summary>
  17. [SugarColumn(IsNullable = true)]
  18. public string LogType { get; set; }
  19. /// <summary>
  20. /// 日志消息
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "longtext")]
  23. public string MsgInfo { get; set; }
  24. /// <summary>
  25. /// 日期
  26. /// </summary>
  27. [SugarColumn(IsNullable = true)]
  28. public string Date { get; set; }
  29. /// <summary>
  30. /// 时间
  31. /// </summary>
  32. [SugarColumn(IsNullable = true)]
  33. public string Time { get; set; }
  34. /// <summary>
  35. /// 日志消息
  36. /// </summary>
  37. [SugarColumn(IsNullable = true),SplitField]
  38. public DateTime CreateDate { get; set; }
  39. /// <summary>
  40. /// 更新时间
  41. /// </summary>
  42. [SugarColumn(IsNullable = true)]//设置为可空字段
  43. public DateTime UpdateTime { get; set; }
  44. }
  45. }