using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdminDAL.DTO.ContactSearchNew { public record ContactSearchNewDTO { #region PrivateMembers private int id; private int objectid; private int contactid; private string code; private string name; private byte contactnature; private string contactname; private string firstname; private string lastname; private string middlename; private string salutation; private byte sex; private DateTime dob; private string mailid; private string objectname; private string phoneno; private string mobileno; private string relationship; private string designation; private string company; private string defaultimageid; private byte linktype; private int reportingtoid; #endregion #region PublicMembers public long NumberOfRecords { get; set; } public int ContactObjectTypeId { get { return id; } //Id set { id = value; } //Id } public int ContactObjectId { get { return objectid; } //Id set { objectid = value; } //Id } public string ContactObjectName { get { return objectname; } //Id set { objectname = value; } //Id } public int ContactId { get { return contactid; } //Id set { contactid = value; } //Id } public string Code { get { return code; } //Id set { code = value; } //Id } public string Name { get { return name; } //Id set { name = value; } //Id } public byte ContactNature { get { return contactnature; } //Id set { contactnature = value; } //Id } public string ContactName { get { return contactname; } //Id set { contactname = value; } //Id } public string ContactFirstName { get { return firstname; } //Id set { firstname = value; } //Id } public string ContactLastName { get { return lastname; } //Id set { lastname = value; } //Id } public string ContactMiddleName { get { return middlename; } //Id set { middlename = value; } //Id } public string ContactSalutation { get { return salutation; } //Id set { salutation = value; } //Id } public byte ContactSex { get { return sex; } //Id set { sex = value; } //Id } public DateTime ContactDOB { get { return dob; } //Id set { dob = value; } //Id } public string ContactMail { get { return mailid; } //Id set { mailid = value; } //Id } public string ContactPhone { get { return phoneno; } //Id set { phoneno = value; } //Id } public string ContactMobile { get { return mobileno; } //Id set { mobileno = value; } //Id } public string ContactRelationship { get { return relationship; } //Id set { relationship = value; } //Id } public string ContactDesignation { get { return designation; } //Id set { designation = value; } //Id } public string ContactCompany { get { return company; } //Id set { company = value; } //Id } public string ContactDefaultImageId { get { return defaultimageid; } //Id set { defaultimageid = value; } //Id } public byte ContactLinkType { get { return linktype; } //Id set { linktype = value; } //Id } public int ContactReportingToId { get { return reportingtoid; } //Id set { reportingtoid = value; } //Id } #endregion } }