ReportSearchModel.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ropin.Inspection.Model.SearchModel
  7. {
  8. public class ReportSearchModel:BaseSearchModel
  9. {
  10. public string Id { get; set; }
  11. public string C_Name { get; set; }
  12. public int I_Type { get; set; }
  13. public string C_GroupName { get; set; }
  14. private DateTimeOffset start;
  15. private DateTimeOffset end;
  16. /// <summary>
  17. /// 开始时间
  18. /// </summary>
  19. public DateTimeOffset Start
  20. {
  21. get
  22. {
  23. return start;
  24. }
  25. set
  26. {
  27. start = value;
  28. }
  29. }
  30. /// <summary>
  31. /// 结束时间
  32. /// </summary>
  33. public DateTimeOffset End
  34. {
  35. get
  36. {
  37. return end;
  38. }
  39. set
  40. {
  41. end = value.AddDays(1).AddHours(8);
  42. }
  43. }
  44. public string StoreCode { get; set; }
  45. }
  46. }