using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace CLIP.eForm.Consent.Entity { [Serializable] public class AgmtVo { public AgmtVo() { foreach(PropertyDescriptor property in TypeDescriptor.GetProperties(this)) { if(property.DisplayName == "consentMstRid" || property.DisplayName == "formRid" || property.DisplayName == "cretno") { property.SetValue(this, 0); } else { property.SetValue(this, ""); } } } public int consentMstRid { get; set; } public string instcd { get; set; } public string pid { get; set; } public string ordtype { get; set; } public string deptcd { get; set; } public string wardcd { get; set; } public string roomCd { get; set; } public string ocrtag { get; set; } public string createUserId { get; set; } public string createDateTime { get; set; } public string CreateUserName { get; set; } public string clnDate { get; set; } public int cretno { get; set; } public string formCd { get; set; } public int formRid { get; set; } public string orddrid { get; set; } } }