using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRMDAL.DTO.Call { public record CallCenterDTO { private int ouid = -1; private string organizationunitcode; private string organizationunitname; private int partyid = -1; private string partycode; private string partyname; private int partybranchid = -1; private int partybranchdeafultaddressid = -1; private string phonenumber = "NONE"; private string mobilenumber = "NONE"; private string invoicenumber = "NONE"; private DateTime invoicedate = DateTime.Now; private int itemid = -1; private string itemcode; private string itemname; private Int16 itemslno = 0; private string manufacturerslno; private DateTime supplierwarrantyfromdate = DateTime.Now; private DateTime supplierwarrantytodate = DateTime.Now; private DateTime saleswarrantyfromdate = DateTime.Now; private DateTime saleswarrantytodate = DateTime.Now; private DateTime partyexpiredate = DateTime.Now; private DateTime labourexpiredate = DateTime.Now; private int cityid = -1; private string citycode; private string cityname; private int locationid = -1; private string locationcode; private string locationname; private int countryid = -1; private string countrycode; private string countryname; private byte callstatus; private byte type = 0; private string reportedproblem = "NONE"; private string alternatemobile = "NONE"; private int partyproductid = -1; private decimal itemquantity = 0; #region PublicMembers public int OUId { get { return ouid; } ////OUId set { ouid = value; } } public byte CallStatus { get { return callstatus; } ////CallStatus set { callstatus = value; } } public byte Type { get { return type; } ////CallStatus set { type = value; } } public string OrganizationUnitCode { get { return organizationunitcode; } ////OrganizationUnitCode set { organizationunitcode = value; } } public string OrganizationUnitName { get { return organizationunitname; } ////OrganizationUnitName set { organizationunitname = value; } } public int PartyId { get { return partyid; } ////PartyId set { partyid = value; } } public string PartyCode { get { return partycode; } ////PartyCode set { partycode = value; } } public string PartyName { get { return partyname; } ////PartyName set { partyname = value; } } public int PartyBranchId { get { return partybranchid; } ////PartyBranchId set { partybranchid = value; } } public string PhoneNumber { get { return phonenumber; } ////PhoneNumber set { phonenumber = value; } } public string MobileNumber { get { return mobilenumber; } ////MobileNumber set { mobilenumber = value; } } public string InvoiceNumber { get { return invoicenumber; } ////InvoiceNumber set { invoicenumber = value; } } public DateTime InvoiceDate { get { return invoicedate; } ////InvoiceDate set { invoicedate = value; } } public int ItemId { get { return itemid; } ////ItemId set { itemid = value; } } public string Itemcode { get { return itemcode; } ////Itemcode set { itemcode = value; } } public string ItemName { get { return itemname; } ////itemname set { itemname = value; } } public Int16 ItemSlno { get { return itemslno; } ////ItemSlno set { itemslno = value; } } public string ManufacturerSlno { get { return manufacturerslno; } ////ManufacturerSlno set { manufacturerslno = value; } } public DateTime SupplierWarrantyFromDate { get { return supplierwarrantyfromdate; } ////SupplierWarrantyFromDate set { supplierwarrantyfromdate = value; } } public DateTime SupplierWarrantyToDate { get { return supplierwarrantytodate; } ////SupplierWarrantyToDate set { supplierwarrantytodate = value; } } public DateTime SalesWarrantyFromDate { get { return saleswarrantyfromdate; } ////SalesWarrantyFromDate set { saleswarrantyfromdate = value; } } public DateTime SalesWarrantyToDate { get { return saleswarrantytodate; } ////SalesWarrantyToDate set { saleswarrantytodate = value; } } public DateTime PartyExpireDate { get { return partyexpiredate; } ////PartyExpireDate set { partyexpiredate = value; } } public DateTime LabourExpireDate { get { return labourexpiredate; } ////LabourExpireDate set { labourexpiredate = value; } } public int CityId { get { return cityid; } ////CityId set { cityid = value; } } public string CityCode { get { return citycode; } ////CityCode set { citycode = value; } } public string CityName { get { return cityname; } ////CityName set { cityname = value; } } public int LocationId { get { return locationid; } ////LocationId set { locationid = value; } } public string LocationCode { get { return locationcode; } ////LocationCode set { locationcode = value; } } public string LocationName { get { return locationname; } ////LocationName set { locationname = value; } } public int CountryId { get { return countryid; } ////CountryId set { countryid = value; } } public string CountryCode { get { return countrycode; } ////CountryCode set { countrycode = value; } } public string CountryName { get { return countryname; } ////CountryName set { countryname = value; } } public string ReportedProblem { get { return reportedproblem; } ////ReportedProblem set { reportedproblem = value; } } public int PartyBranchDeafultAddressId { get { return partybranchdeafultaddressid; } set { partybranchdeafultaddressid = value; } } private string addressline1 = ""; private string addressline2 = ""; private string addressline3 = ""; private string zipcode = "0"; private int documentid = -1; public int DocumentId { get { return documentid; } set { documentid = value; } } private int tactionid = -1; private int tactiondetailid = -1; private int callid = -1; private Int16 slno = 0; private string tactiondetailremarks = ""; private Int64 numberofrecords = 0; private DateTime tactiondetailperiodfrom = DateTime.Now; private DateTime tactiondetailperiodto = DateTime.Now; private Int16 version; private byte status; private DateTime tactioncreatedon = DateTime.Now; private byte tactiondetailattendedbytype = 0; private int tactiondetailcontactid = -1; private int tactiondetailemployeeid = -1; private string contactname = ""; private string employeecode = ""; private string employeename = ""; public DateTime TActionCreatedOn { get { return tactioncreatedon; } ////TActionId set { tactioncreatedon = value; } } public byte TActionDetailAttendedByType { get { return tactiondetailattendedbytype; } ////TActionId set { tactiondetailattendedbytype = value; } } public int TActionDetailContactId { get { return tactiondetailcontactid; } ////TActionId set { tactiondetailcontactid = value; } } public int TActionDetailEmployeeId { get { return tactiondetailemployeeid; } ////TActionId set { tactiondetailemployeeid = value; } } public string ContactName { get { return contactname; } ////TActionId set { contactname = value; } } public string EmployeeCode { get { return employeecode; } ////TActionId set { employeecode = value; } } public string EmployeeName { get { return employeename; } ////TActionId set { employeename = value; } } public int TActionId { get { return tactionid; } ////TActionId set { tactionid = value; } } public int TActionDetailId { get { return tactiondetailid; } ////TActionId set { tactiondetailid = value; } } public int CallId { get { return callid; } ////CallId set { callid = value; } } public Int16 SlNo { get { return slno; } ////TActionId set { slno = value; } } public Int16 Version { get { return version; } ////TActionId set { version = value; } } public byte Status { get { return status; } ////TActionId set { status = value; } } public Int64 NumberOfRecords { get { return numberofrecords; } ////TActionId set { numberofrecords = value; } } public DateTime TActionDetailPeriodFrom { get { return tactiondetailperiodfrom; } ////TActionId set { tactiondetailperiodfrom = value; } } public DateTime TActionDetailPeriodTo { get { return tactiondetailperiodto; } ////TActionId set { tactiondetailperiodto = value; } } public string TActionDetailRemarks { get { return tactiondetailremarks; } ////AddressLine1 set { tactiondetailremarks = value; } } public string AddressLine1 { get { return addressline1; } ////AddressLine1 set { addressline1 = value; } } public string AddressLine2 { get { return addressline2; } ////AddressLine2 set { addressline2 = value; } } public string AddressLine3 { get { return addressline3; } ////AddressLine2 set { addressline3 = value; } } public string ZipCode { get { return zipcode; } ////AddressLine2 set { zipcode = value; } } private int activityid = -1; private string activitycode; private string activityname; private int defaultaddressid = -1; private byte coveragestatus = 0; private DateTime extendedfrom = DateTime.Now; private DateTime extendedto = DateTime.Now; private string extendedremarks = ""; private string warrantytype = ""; private int warrantybyid = -1; private string warrantybycode; private string warrantybyname; private int extendedbyid = -1; private string extendedbycode; private string extendedbyname; private byte warrantytypes = 0; public int ActivityId { get { return activityid; } ////TActionId set { activityid = value; } } public string ActivityCode { get { return activitycode; } ////TActionId set { activitycode = value; } } public string ActivityName { get { return activityname; } ////TActionId set { activityname = value; } } public string AlternateMobile { get { return alternatemobile; } set { alternatemobile = value; } } public int DefaultAddressId { get { return defaultaddressid; } set { defaultaddressid = value; } } public byte CoverageStatus { get { return coveragestatus; } set { coveragestatus = value; } } public int PartyProductId { get { return partyproductid; } set { partyproductid = value; } } public DateTime ExtendedFrom { get { return extendedfrom; } set { extendedfrom = value; } } public DateTime ExtendedTo { get { return extendedto; } set { extendedto = value; } } public string ExtendedRemarks { get { return extendedremarks; } set { extendedremarks = value; } } public string WarrantyType { get { return warrantytype; } set { warrantytype = value; } } public int WarrantyById { get { return warrantybyid; } //WarrantyById set { warrantybyid = value; } //WarrantyById } public string WarrantyByCode { get { return warrantybycode; } //warrantybycode set { warrantybycode = value; } //warrantybycode } public string WarrantyByName { get { return warrantybyname; } //warrantybyname set { warrantybyname = value; } //warrantybyname } public int ExtendedById { get { return extendedbyid; } //extendedbyid set { extendedbyid = value; } //extendedbyid } public string ExtendedByCode { get { return extendedbycode; } //extendedbycode set { extendedbycode = value; } //extendedbycode } public string ExtendedByName { get { return extendedbyname; } //extendedbyname set { extendedbyname = value; } //extendedbyname } public byte WarrantyTypes { get { return warrantytypes; } //warrantytypes set { warrantytypes = value; } //warrantytypes } private string itemproductdescription; public string ItemProductDescription { get { return itemproductdescription; } //itemproductdescription set { itemproductdescription = value; } //itemproductdescription } public decimal ItemQuantity { get { return itemquantity; } //itemproductdescription set { itemquantity = value; } //itemproductdescription } private double tactiondetailexpenseamount; private double tactiondetailclaimamount; private double tactiondetailapprovedamount; public double TActionDetailExpenseAmount { get { return tactiondetailexpenseamount; } set { tactiondetailexpenseamount = value; } } public double TActionDetailClaimAmount { get { return tactiondetailclaimamount; } set { tactiondetailclaimamount = value; } } public double TActionDetailApprovedAmount { get { return tactiondetailapprovedamount; } set { tactiondetailapprovedamount = value; } } #endregion } }