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.
 
 
 
 
 
 

111 lines
3.1 KiB

  1. using Learun.Util;
  2. using System;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace Learun.Application.TwoDevelopment.EducationalAdministration
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  8. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2019-08-11 09:51
  11. /// 描 述:新生在线咨询
  12. /// </summary>
  13. public class StuInfoFreshOnlineServiceEntity
  14. {
  15. #region 实体成员
  16. /// <summary>
  17. /// Id
  18. /// </summary>
  19. [Column("ID")]
  20. public string Id { get; set; }
  21. /// <summary>
  22. /// 问题编号
  23. /// </summary>
  24. [Column("QUESTIONCODE")]
  25. public string QuestionCode { get; set; }
  26. /// <summary>
  27. /// 问题主题
  28. /// </summary>
  29. [Column("QUESTIONTITLE")]
  30. public string QuestionTitle { get; set; }
  31. /// <summary>
  32. /// 问题
  33. /// </summary>
  34. [Column("QUESTION")]
  35. public string Question { get; set; }
  36. /// <summary>
  37. /// 问题发起人Id
  38. /// </summary>
  39. [Column("QUESTIONUSERID")]
  40. public string QuestionUserId { get; set; }
  41. /// <summary>
  42. /// 问题发起人
  43. /// </summary>
  44. [Column("QUESTIONUSERNAME")]
  45. public string QuestionUserName { get; set; }
  46. /// <summary>
  47. /// 提问时间
  48. /// </summary>
  49. [Column("QUESTIONCREATETIME")]
  50. public DateTime? QuestionCreateTime { get; set; }
  51. /// <summary>
  52. /// 问题状态:0未提交,1已提交
  53. /// </summary>
  54. [Column("QUESTIONSTATUS")]
  55. public string QuestionStatus { get; set; }
  56. /// <summary>
  57. /// 问题提交时间
  58. /// </summary>
  59. [Column("QUESTIONSUBMITTIME")]
  60. public DateTime? QuestionSubmitTime { get; set; }
  61. /// <summary>
  62. /// 回复
  63. /// </summary>
  64. [Column("ANSWER")]
  65. public string Answer { get; set; }
  66. /// <summary>
  67. /// 回复人Id
  68. /// </summary>
  69. [Column("ANSWERUSERID")]
  70. public string AnswerUserId { get; set; }
  71. /// <summary>
  72. /// 回复人
  73. /// </summary>
  74. [Column("ANSWERUSERNAME")]
  75. public string AnswerUserName { get; set; }
  76. /// <summary>
  77. /// 回复时间
  78. /// </summary>
  79. [Column("ANSWERCREATETIME")]
  80. public DateTime? AnswerCreateTime { get; set; }
  81. /// <summary>
  82. /// 回复状态:0未回复,1已回复
  83. /// </summary>
  84. [Column("ANSWERSTATUS")]
  85. public string AnswerStatus { get; set; }
  86. #endregion
  87. #region 扩展操作
  88. /// <summary>
  89. /// 新增调用
  90. /// </summary>
  91. public void Create()
  92. {
  93. this.Id = Guid.NewGuid().ToString();
  94. }
  95. /// <summary>
  96. /// 编辑调用
  97. /// </summary>
  98. /// <param name="keyValue"></param>
  99. public void Modify(string keyValue)
  100. {
  101. this.Id = keyValue;
  102. }
  103. #endregion
  104. #region 扩展字段
  105. #endregion
  106. }
  107. }