ReportViewModel.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Ropin.Inspection.Common.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Ropin.Inspection.Model.ViewModel
  8. {
  9. public class ReportViewModel : BaseViewModel
  10. {
  11. //private IEnumerable<FirePreventionWeekRecordViewModel> firePreventionWeekRecord;
  12. public Guid G_ID { get; set; }
  13. public string C_StoreCode { get; set; }
  14. public string C_Name { get; set; }
  15. public int I_Type { get; set; }
  16. public string C_GroupName { get; set; }
  17. public DateTime D_Start { get; set; }
  18. public DateTime D_End { get; set; }
  19. public DateTime D_CreateTime { get; set; }
  20. public string C_Data { get; set; }
  21. public string C_Remark { get; set; }
  22. public string C_Status { get; set; }
  23. //public IEnumerable<FirePreventionWeekRecordViewModel> FirePreventionWeekRecord
  24. //{
  25. // set
  26. // {
  27. // if (string.IsNullOrEmpty(C_Data))
  28. // {
  29. // firePreventionWeekRecord = JsonHelper.ParseFormByJson<IEnumerable<FirePreventionWeekRecordViewModel>>(C_Data);
  30. // }
  31. // }
  32. // get
  33. // {
  34. // return firePreventionWeekRecord;
  35. // }
  36. //}
  37. }
  38. }