using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Address { public class ContactWithAddressDTO { private int contactid; private int objecttypeid = -1; private int objectid = -1; private byte contactnature = 0; private string salutation = ""; private string firstname = ""; private string middlename = ""; private string lastname = ""; private DateTime dob; private byte gender; private byte linktype; private string company = ""; private string designation = ""; private string mobileno = ""; private string phoneno = ""; private string email = ""; private int reportingtoid = -1; private string addressline1 = ""; private string addressline2 = ""; private string addressline3 = ""; private string addressmobile = ""; private string addressphone = ""; private int cityid = -1; private int countryid = -1; private int regionid = -1; private string gstin = ""; private string zipcode = ""; private string faxnumber = ""; private string webaddress = ""; private string geocode = ""; private int stateid = -1; public int ContactId { get { return contactid; } set { contactid = value; } } public int ObjectTypeId { get { return objecttypeid; } set { objecttypeid = value; } } public int ObjectId { get { return objectid; } set { objectid = value; } } public byte ContactNature { get { return contactnature; } set { contactnature = value; } } public string Salutation { get { return salutation; } set { salutation = value; } } public string FirstName { get { return firstname; } set { firstname = value; } } public string MiddleName { get { return middlename; } set { middlename = value; } } public string LastName { get { return lastname; } set { lastname = value; } } public DateTime Dob { get { return dob; } set { dob = value; } } public byte Gender { get { return gender; } set { gender = value; } } public byte LinkType { get { return linktype; } set { linktype = value; } } public string Company { get { return company; } set { company = value; } } public string Designation { get { return designation; } set { designation = value; } } public string MobileNo { get { return mobileno; } set { mobileno = value; } } public string PhoneNo { get { return phoneno; } set { phoneno = value; } } public string Email { get { return email; } set { email = value; } } public int ReportingToId { get { return reportingtoid; } set { reportingtoid = value; } } public string AddressLine1 { get { return addressline1; } set { addressline1 = value; } } public string AddressLine2 { get { return addressline2; } set { addressline2 = value; } } public string AddressMobile { get { return addressmobile; } set { addressmobile = value; } } public string AddressPhone { get { return addressphone; } set { addressphone = value; } } public string AddressLine3 { get { return addressline3; } set { addressline3 = value; } } public int CityId { get { return cityid; } set { cityid = value; } } public int CountryId { get { return countryid; } set { countryid = value; } } public int RegionId { get { return regionid; } set { regionid = value; } } public string GSTIn { get { return gstin; } set { gstin = value; } } public string ZipCode { get { return zipcode; } set { zipcode = value; } } public string FaxNumber { get { return faxnumber; } set { faxnumber = value; } } public string WebAddress { get { return webaddress; } set { webaddress = value; } } public string GeoCode { get { return geocode; } set { geocode = value; } } public int StateId { get { return stateid; } set { stateid = value; } } } }