UserLog.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. //----------------------------------------------------------------
  6. //Module Name: $safeprojectname$
  7. //Purpose:
  8. //CopyRight: Muchinfo
  9. //History:
  10. //----------------------------------------------------------------
  11. //DateTime 2016/1/30 10:19:38
  12. //Author
  13. //Description Create
  14. //----------------------------------------------------------------
  15. using Muchinfo.MTPClient.Data.Helper;
  16. namespace Muchinfo.MTPClient.Data.Model.Account
  17. {
  18. public class UserLog
  19. {
  20. #region SQL字段
  21. // <select id="SearchSysLog" parameterType="java.util.Map"
  22. // resultType="HashMap">
  23. // SELECT o.logid,
  24. // o.businessname,
  25. // o.funname,
  26. // o.operatorid,
  27. // o.operatorname,
  28. // o.operatortime,
  29. // o.operatorip,
  30. // o.state
  31. // FROM OPERATORLOG o
  32. // where o.operatorid =#{operatorid}
  33. //</select>
  34. #endregion
  35. /// <summary>
  36. /// 日志ID
  37. /// </summary>
  38. [PropertyDisc("logid")]
  39. public long logid { get; set; }
  40. /// <summary>
  41. /// 日志类型
  42. /// </summary>
  43. [PropertyDisc("businessname")]
  44. public string businessname { get; set; }
  45. /// <summary>
  46. /// 操作名称
  47. /// </summary>
  48. [PropertyDisc("funname")]
  49. public string funname { get; set; }
  50. /// <summary>
  51. /// 操作员ID
  52. /// </summary>
  53. [PropertyDisc("operatorid")]
  54. public string operatorid { get; set; }
  55. /// <summary>
  56. /// 操作员名称
  57. /// </summary>
  58. [PropertyDisc("operatorname")]
  59. public string operatorname { get; set; }
  60. /// <summary>
  61. /// 操作时间
  62. /// </summary>
  63. [PropertyDisc("operatortime")]
  64. public DateTime operatortime { get; set; }
  65. /// <summary>
  66. /// 操作IP
  67. /// </summary>
  68. [PropertyDisc("operatorip")]
  69. public string operatorip { get; set; }
  70. /// <summary>
  71. /// 操作状态
  72. /// </summary>
  73. [PropertyDisc("state")]
  74. public int state { get; set; }
  75. #region 注释
  76. // /// <summary>
  77. // /// 功能码
  78. // /// </summary>
  79. // [PropertyDisc("FunCode")]
  80. // public int Funcode { get; set; }
  81. // /// <summary>
  82. // /// ip
  83. // /// </summary>
  84. //[PropertyDisc("IP")]
  85. // public string IP { get; set; }
  86. // /// <summary>
  87. // ///账号
  88. // /// </summary>
  89. // [PropertyDisc("AccountCode")]
  90. // public string AccountCode { get; set; }
  91. // /// <summary>
  92. // /// 时间
  93. // /// </summary>
  94. // [PropertyDisc("OperateDate")]
  95. // public DateTime Operadate { get; set; }
  96. // /// <summary>
  97. // ///信息MsgName
  98. // /// </summary>
  99. // [PropertyDisc("MsgName")]
  100. // public string MsgName { get; set; }
  101. // /// <summary>
  102. // /// 状态
  103. // /// </summary>
  104. // [PropertyDisc("Status")]
  105. // public int Status { get; set; }
  106. // /// <summary>
  107. // /// 操作类型
  108. // /// </summary>
  109. // [PropertyDisc("OperateType")]
  110. // public int OperateType { get; set; }
  111. // public string OperateTypeDisplay
  112. // {
  113. // get
  114. // {
  115. // return OperateType+string.Empty;
  116. // }
  117. // }
  118. // public string StatusDisplay
  119. // {
  120. // get
  121. // {
  122. // return Status + string.Empty;
  123. // }
  124. // }
  125. #endregion
  126. }
  127. }