UnFinishedListVO.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. using System.ComponentModel;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace CLIP.eForm.Consent.Entity
  7. {
  8. [Serializable]
  9. public class UnFinishedListVO
  10. {
  11. public UnFinishedListVO()
  12. {
  13. foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(this))
  14. {
  15. if (property.DisplayName == "consentMstRid" || property.DisplayName == "cretno" ||
  16. property.DisplayName == "orderno" || property.DisplayName == "formrid")
  17. {
  18. property.SetValue(this, 0);
  19. }
  20. else
  21. {
  22. property.SetValue(this, "");
  23. }
  24. }
  25. }
  26. public string patientCode { get; set; }
  27. public string formcd { get; set; }
  28. public string consentName { get; set; }
  29. public string hngnm { get; set; }
  30. public string orderdate { get; set; }
  31. public string printonly { get; set; }
  32. public string certtarget { get; set; }
  33. public string consentState { get; set; }
  34. public int consentMstRid { get; set; }
  35. public string orddd { get; set; }
  36. public string visitType { get; set; }
  37. public string orddeptcd { get; set; }
  38. public int orderno { get; set; }
  39. public string ordercd { get; set; }
  40. public string ocrNumber { get; set; }
  41. public int cretno { get; set; }
  42. public string createusername { get; set; }
  43. public int formrid { get; set; }
  44. public string formguid { get; set; }
  45. }
  46. }