ShareRecordView.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Globalization;
  4. using System.Linq;
  5. using System.Text;
  6. namespace EMIS.ViewModel.ProjectShareManage
  7. {
  8. public class ShareRecordView
  9. {
  10. public Guid? ShareRecordID { get; set; }
  11. public DateTime? DateTime { get; set; }
  12. public string YearMonthDay {
  13. get {
  14. return DateTime.Value.ToString("yyyy/MM/dd", DateTimeFormatInfo.InvariantInfo);
  15. }
  16. }
  17. public string Time
  18. {
  19. get
  20. {
  21. return DateTime.Value.ToLongTimeString();
  22. }
  23. }
  24. public Guid? AnnouncementID { get; set; }
  25. public string Title { get; set; }
  26. public Guid? UserID { get; set; }
  27. public string OpenID { get; set; }
  28. public string UserName { get; set; }
  29. public Guid? ClassmajorID { get; set; }
  30. public string ClassmajorName { get; set; }
  31. public int? Score { get; set; }
  32. public int? Count { get; set; }
  33. public int? RecordStatus { get; set; }
  34. public Guid? CreateUserID { get; set; }
  35. public DateTime? CreateTime { get; set; }
  36. public Guid? ModifyUserID { get; set; }
  37. public DateTime? ModifyTime { get; set; }
  38. }
  39. }