using GB5Shared.DTO.Framework.Enum; using System; namespace FrameworkDAL.DTO.Address { // Result shape for ContactQB.GET_SELECTLIST_CONTACT_BY_OBJECT — kept separate from // ContactDTO so this picklist result doesn't share (and can't accidentally break) // the DTO used by GetContact/SaveContact/UpdateContact. public class ContactSelectListByObjectDTO { private string partycode = "NONE"; private string partyname = "NONE"; private string partybranchcode = "NONE"; private string partybranchname = "NONE"; private string defaultimageid = "NONE"; private string relationship = "NONE"; private string contactsexname; private byte contactsex; private string contactthumbnail; private int contactid; private int entityid = -1; private string entitycode; private string entityname; private int contactobjectid = -1; private byte contactcontactnature; private string contactname = "NONE"; private string contactfirstname; private string contactmiddlename = "NONE"; private string contactlastname = "NONE"; private string contactsalutation; private DateTime contactdob = DateTime.Now; private string contactmailid = "NONE"; private string contactphoneno = "NONE"; private string contactmobileno; private string contactrelationship = "NONE"; private string contactdesignation = "NONE"; private string contactcompany = "NONE"; private string contactdefaultimageid = "NONE"; private byte contactlinktype; private int reportingtoid = -1; private string reportingtoname = "NONE"; private object addressdto; private string contactimageviewurl = "NONE"; private int contactcreatedbyid = -1; private DateTime contactcreatedon; private int contactmodifiedbyid = -1; private DateTime contactmodifiedon; private Int16 contactsortorder; private byte contactstatus; private Int16 contactversion; private byte contactsourcetype; private object contactaddon; private int contactisuser = 1; private int userlinkid = -1; private Int64 numberofrecords; private string contactstatusname; public string PartyCode { get => partycode; set => partycode = value; } public string PartyName { get => partyname; set => partyname = value; } public string PartyBranchCode { get => partybranchcode; set => partybranchcode = value; } public string PartyBranchName { get => partybranchname; set => partybranchname = value; } public string DefaultImageId { get => defaultimageid; set => defaultimageid = value; } public string RelationShip { get => relationship; set => relationship = value; } public string ContactSexName { get => contactsexname; set => contactsexname = value; } public byte ContactSex { get => contactsex; set { contactsex = value; ContactSexName = ((FrameworkEnumDTO.Sex)contactsex).ToString(); } } public string ContactThumbNail { get => contactthumbnail; set => contactthumbnail = value; } public int ContactId { get => contactid; set => contactid = value; } public int EntityId { get => entityid; set => entityid = value; } public string EntityCode { get => entitycode; set => entitycode = value; } public string EntityName { get => entityname; set => entityname = value; } public int ContactObjectId { get => contactobjectid; set => contactobjectid = value; } public byte ContactContactNature { get => contactcontactnature; set => contactcontactnature = value; } public string ContactName { get => contactname; set => contactname = value; } public string ContactFirstName { get => contactfirstname; set => contactfirstname = value; } public string ContactMiddleName { get => contactmiddlename; set => contactmiddlename = value; } public string ContactLastName { get => contactlastname; set => contactlastname = value; } public string ContactSalutation { get => contactsalutation; set => contactsalutation = value; } public DateTime ContactDob { get => contactdob; set => contactdob = value; } public string ContactMailId { get => contactmailid; set => contactmailid = value; } public string ContactPhoneNo { get => contactphoneno; set => contactphoneno = value; } public string ContactMobileNo { get => contactmobileno; set => contactmobileno = value; } public string ContactRelationShip { get => contactrelationship; set => contactrelationship = value; } public string ContactDesignation { get => contactdesignation; set => contactdesignation = value; } public string ContactCompany { get => contactcompany; set => contactcompany = value; } public string ContactDefaultImageId { get => contactdefaultimageid; set => contactdefaultimageid = value; } public byte ContactLinkType { get => contactlinktype; set => contactlinktype = value; } public int ReportingToId { get => reportingtoid; set => reportingtoid = value; } public string ReportingToName { get => reportingtoname; set => reportingtoname = value; } public object AddressDTO { get => addressdto; set => addressdto = value; } public string ContactImageViewUrl { get => contactimageviewurl; set => contactimageviewurl = value; } public int ContactCreatedById { get => contactcreatedbyid; set => contactcreatedbyid = value; } public DateTime ContactCreatedOn { get => contactcreatedon; set => contactcreatedon = value; } public int ContactModifiedById { get => contactmodifiedbyid; set => contactmodifiedbyid = value; } public DateTime ContactModifiedOn { get => contactmodifiedon; set => contactmodifiedon = value; } public Int16 ContactSortOrder { get => contactsortorder; set => contactsortorder = value; } public byte ContactStatus { get => contactstatus; set => contactstatus = value; } public Int16 ContactVersion { get => contactversion; set => contactversion = value; } public byte ContactSourceType { get => contactsourcetype; set => contactsourcetype = value; } public object ContactAddon { get => contactaddon; set => contactaddon = value; } public int ContactIsUser { get => contactisuser; set => contactisuser = value; } public int UserLinkId { get => userlinkid; set => userlinkid = value; } public Int64 NumberOfRecords { get => numberofrecords; set => numberofrecords = value; } public string ContactStatusName { get => contactstatusname; set => contactstatusname = value; } } }