AgmtVo.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. namespace CLIP.eForm.Consent.Entity {
  7. [Serializable]
  8. public class AgmtVo {
  9. public AgmtVo() {
  10. foreach(PropertyDescriptor property in TypeDescriptor.GetProperties(this)) {
  11. if(property.DisplayName == "consentMstRid" || property.DisplayName == "formRid" || property.DisplayName == "cretno") {
  12. property.SetValue(this, 0);
  13. }
  14. else {
  15. property.SetValue(this, "");
  16. }
  17. }
  18. }
  19. public int consentMstRid { get; set; }
  20. public string instcd { get; set; }
  21. public string pid { get; set; }
  22. public string ordtype { get; set; }
  23. public string deptcd { get; set; }
  24. public string wardcd { get; set; }
  25. public string roomCd { get; set; }
  26. public string ocrtag { get; set; }
  27. public string createUserId { get; set; }
  28. public string createDateTime { get; set; }
  29. public string CreateUserName { get; set; }
  30. public string clnDate { get; set; }
  31. public int cretno { get; set; }
  32. public string formCd { get; set; }
  33. public int formRid { get; set; }
  34. public string orddrid { get; set; }
  35. }
  36. }