LogEntity.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using System;
  2. namespace LeaRun.Application.Entity.SystemManage
  3. {
  4. /// <summary>
  5. /// 版 本 6.1
  6. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  7. /// 创建人:佘赐雄
  8. /// 日 期:2016.1.8 9:56
  9. /// 描 述:系统日志
  10. /// </summary>
  11. public class LogEntity : BaseEntity
  12. {
  13. #region 实体成员
  14. /// <summary>
  15. /// 日志主键
  16. /// </summary>
  17. public string LogId { get; set; }
  18. /// <summary>
  19. /// 分类Id 1-登陆2-访问3-操作4-异常
  20. /// </summary>
  21. public int? CategoryId { get; set; }
  22. /// <summary>
  23. /// 来源对象主键
  24. /// </summary>
  25. public string SourceObjectId { get; set; }
  26. /// <summary>
  27. /// 来源日志内容
  28. /// </summary>
  29. public string SourceContentJson { get; set; }
  30. /// <summary>
  31. /// 操作时间
  32. /// </summary>
  33. public DateTime? OperateTime { get; set; }
  34. /// <summary>
  35. /// 操作用户Id
  36. /// </summary>
  37. public string OperateUserId { get; set; }
  38. /// <summary>
  39. /// 操作用户
  40. /// </summary>
  41. public string OperateAccount { get; set; }
  42. /// <summary>
  43. /// 操作类型Id
  44. /// </summary>
  45. public string OperateTypeId { get; set; }
  46. /// <summary>
  47. /// 操作类型
  48. /// </summary>
  49. public string OperateType { get; set; }
  50. /// <summary>
  51. /// 系统功能主键
  52. /// </summary>
  53. public string ModuleId { get; set; }
  54. /// <summary>
  55. /// 系统功能
  56. /// </summary>
  57. public string Module { get; set; }
  58. /// <summary>
  59. /// IP地址
  60. /// </summary>
  61. public string IPAddress { get; set; }
  62. /// <summary>
  63. /// IP地址所在城市
  64. /// </summary>
  65. public string IPAddressName { get; set; }
  66. /// <summary>
  67. /// 主机
  68. /// </summary>
  69. public string Host { get; set; }
  70. /// <summary>
  71. /// 浏览器
  72. /// </summary>
  73. public string Browser { get; set; }
  74. /// <summary>
  75. /// 执行结果状态
  76. /// </summary>
  77. public int? ExecuteResult { get; set; }
  78. /// <summary>
  79. /// 执行结果信息
  80. /// </summary>
  81. public string ExecuteResultJson { get; set; }
  82. /// <summary>
  83. /// 备注
  84. /// </summary>
  85. public string Description { get; set; }
  86. /// <summary>
  87. /// 删除标记
  88. /// </summary>
  89. public int? DeleteMark { get; set; }
  90. /// <summary>
  91. /// 有效标志
  92. /// </summary>
  93. public int? EnabledMark { get; set; }
  94. #endregion
  95. }
  96. }