ReportSearchModel.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 C_Name { get; set; }
  11. public int I_Type { get; set; }
  12. public string C_GroupName { get; set; }
  13. private DateTimeOffset start;
  14. private DateTimeOffset end;
  15. /// <summary>
  16. /// 开始时间
  17. /// </summary>
  18. public DateTimeOffset Start
  19. {
  20. get
  21. {
  22. return start;
  23. }
  24. set
  25. {
  26. start = value;
  27. }
  28. }
  29. /// <summary>
  30. /// 结束时间
  31. /// </summary>
  32. public DateTimeOffset End
  33. {
  34. get
  35. {
  36. return end;
  37. }
  38. set
  39. {
  40. end = value.AddDays(1).AddHours(8);
  41. }
  42. }
  43. public string StoreCode { get; set; }
  44. }
  45. }