ReportViewModel.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using Syncfusion.Drawing;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace SuperCms.Models
  7. {
  8. public class ReportViewModel
  9. {
  10. public String typeGet { get; set; }
  11. public String timeNow { get; set; }
  12. public String date { get; set; }
  13. public String companyID { get; set; }
  14. public String telcoID { get; set; }
  15. public String page { get; set; }
  16. public String totalPage { get; set; }
  17. public ConnTelcos telcos { get; set; }
  18. public ConnCompanies companies { get; set; }
  19. public List<DateTime> listDate { get; set; }
  20. // data
  21. public ConnTelco telco { get; set; }
  22. public ConnCompany company { get; set; }
  23. public ConnConfigs services { get; set; }
  24. public ConnDatas data { get; set; }
  25. public List<DistributedDataByService> distributedDataByServices { get; set; }
  26. // for export partial
  27. public String startDate { get; set; }
  28. public String endDate { get; set; }
  29. }
  30. public class DistributedDataByService
  31. {
  32. public ConnConfig service { get; set; }
  33. public ConnDatas dataNow { get; set; }
  34. public ConnDatas dataLastMonth { get; set; }
  35. public List<DistributedByTime> distributedByTimes { get; set; }
  36. }
  37. public class DistributedDataForExcelByOneMonth
  38. {
  39. public DateTime month { get; set; }
  40. public List<DateTime> time { get; set; }
  41. public ConnTelcos telcos { get; set; }
  42. public ConnCompanies companies { get; set; }
  43. public ConnConfigs services { get; set; }
  44. public List<DistributedByTime> distributedByTimes { get; set; }
  45. }
  46. public class ServiceRowPosition
  47. {
  48. public ConnConfig service { get; set; }
  49. public List<String> positions { get; set; }
  50. }
  51. public class RowAttributed
  52. {
  53. public String character { get; set; }
  54. public String number { get; set; }
  55. public object center { get; set; }
  56. public Boolean bold { get; set; }
  57. public object color { get; set; }
  58. public object background { get; set; }
  59. public object thinLeft { get;set; }
  60. public object thinRight { get; set; }
  61. public object thinTop { get; set; }
  62. public object thinBottom { get; set; }
  63. public RowAttributed(String character, String number, Boolean bold, object color, object background, object thinLeft, object thinRight, object thinTop, object thinBottom, object center)
  64. {
  65. this.character = character;
  66. this.number = number;
  67. this.center = center;
  68. this.bold = bold;
  69. this.color = color;
  70. this.background = background;
  71. this.thinLeft = thinLeft;
  72. this.thinRight = thinRight;
  73. this.thinTop = thinTop;
  74. this.thinBottom = thinBottom;
  75. }
  76. }
  77. }