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.

79 line
1.9 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace Basic.Model
  6. {
  7. /// <summary>
  8. /// 管理员登录日志:实体类
  9. /// </summary>
  10. [Serializable]
  11. public class manager_log
  12. {
  13. #region Model
  14. private int _id;
  15. private int _user_id;
  16. private string _user_name;
  17. private string _action_type;
  18. private string _note;
  19. private string _login_ip;
  20. private DateTime _login_time;
  21. /// <summary>
  22. /// 自增ID
  23. /// </summary>
  24. public int id
  25. {
  26. set { _id = value; }
  27. get { return _id; }
  28. }
  29. /// <summary>
  30. /// 用户ID
  31. /// </summary>
  32. public int user_id
  33. {
  34. set { _user_id = value; }
  35. get { return _user_id; }
  36. }
  37. /// <summary>
  38. /// 用户名
  39. /// </summary>
  40. public string user_name
  41. {
  42. set { _user_name = value; }
  43. get { return _user_name; }
  44. }
  45. /// <summary>
  46. /// 操作类型
  47. /// </summary>
  48. public string action_type
  49. {
  50. set { _action_type = value; }
  51. get { return _action_type; }
  52. }
  53. /// <summary>
  54. /// 备注
  55. /// </summary>
  56. public string note
  57. {
  58. set { _note = value; }
  59. get { return _note; }
  60. }
  61. /// <summary>
  62. /// 登录IP
  63. /// </summary>
  64. public string login_ip
  65. {
  66. set { _login_ip = value; }
  67. get { return _login_ip; }
  68. }
  69. /// <summary>
  70. /// 登录时间
  71. /// </summary>
  72. public DateTime login_time
  73. {
  74. set { _login_time = value; }
  75. get { return _login_time; }
  76. }
  77. #endregion Model
  78. }
  79. }