using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRMDAL.DTO.Call { public record CallPlanningDTO { #region PrivateMembers #region Call private int callid; ////Id private string callnumber = "NONE"; #region OrganizationUnit private int ouid = -1; ////Id private string oucode; ////Code private string ouname; ////Name #endregion #region BizTransactionType private int biztransactiontypeid = -1; ////Id private string biztransactiontypecode; ////Code private string biztransactiontypename; ////Name #endregion #region Period private int periodid = -1; ////Id private string periodcode; ////Code private string periodname; ////Name private DateTime periodfromdate = DateTime.Now; ////FromDate private DateTime periodtodate = DateTime.Now; ////ToDate #endregion private DateTime calldate = DateTime.Now; ////Date private string callreferencenumber = "NONE"; ////ReferenceNumber private DateTime callreferencedate = DateTime.Now; ////ReferenceDate private int objecttypeid = -1; ////ObjectTypeId private string objecttypecode; ////ObjectTypeId private string objecttypename; ////ObjectTypeId private int callobjectid = -1; ////ObjectId #region Party private int partyid = -1; ////Id private string partycode; ////Code private string partyname; ////Name #endregion #region PartyBranch private int partybranchid = -1; ////Id private string partybranchcode; ////Code private string partybranchname; ////Name #endregion #region Employee private int employeeid = -1; ////Id private string employeecode; ////Code private string employeename; ////Name #endregion #region Allocation private int allocationid = -1; ////Id private string allocationname; ////Code private string allocationshortname; ////Name #endregion #region Address private int contactid = -1; ////Id private string contactname; ////Name #endregion #region Address private int addressid = -1; ////Id private string addressline1 = "NONE"; ////Line1 private string addressline2 = "NONE"; ////Line2 private string addressline3 = "NONE"; ////Line3 private string addressline4 = "NONE"; ////Line4 private string addressline5 = "NONE"; ////Line5 private string addresszipcode = "-1"; ////ZipCode private string addressmail = "NONE"; ////Mail #endregion private string callreportedbyname = "NONE"; ////ReportedByName #region Employee private int reportedbyid = -1; ////Id private string reportedbycode; ////Code private string reportedbyname; ////Name #endregion #region ReceivedBy private int receivedbyid = -1; ////Id private string receivedbycode; ////Code private string receivedbyname; ////Name #endregion private byte callcallreceivedmode = 0; ////CallReceivedMode #region Gcm private int calltypeid = -1; ////Id private string calltypecode; ////Code private string calltypename; ////Name #endregion private byte callcallgenerationtype = 0; ////CallGenerationType private int callcontract = -1; ////ContractId private byte callcontractcyclenumber = 0; ////ContractCycleNumber #region Gcm private int callnatureid = -1; ////Id private string callnaturecode; ////Code private string callnaturename; ////Name #endregion #region Gcm private int callpriorityid = -1; ////Id private string callprioritycode; ////Code private string callpriorityname; ////Name #endregion private DateTime callproblemdate = DateTime.Now; ////ProblemDate private Int16 callproblemtime = 0; ////ProblemTime private DateTime callpromisseddate = DateTime.Now; ////PromissedDate private byte callallotedtotype = 0; ////AllotedToType #region Employee private int allotedtoemployeeid = -1; ////Id private string allotedtoemployeecode; ////Code private string allotedtoemployeename; ////Name #endregion #region Address private int allotedtocontactid = -1; ////Id private string allotedtocontactname; ////Name #endregion #region Party private int allotedtopartyid = -1; ////Id private string allotedtopartycode; ////Code private string allotedtopartyname; ////Name #endregion private byte callcalloriginalstatus = 0; ////CallStatus #region Gcm private int callonobjecttypeid = -1; ////Id private string callonobjecttypecode; ////Code private string callonobjecttypename; ////Name #endregion private int callcallonobjectid = -1; ////CallOnObjectId private string callcallonname = "NONE"; ////CallOnName private byte callcoveragestatus = 0; ////CoverageStatus private string callreportedproblem = "NONE"; ////ReportedProblem private string callactiontaken = "NONE"; ////ActionTaken private string callcustomerremarks = "NONE"; ////CustomerRemarks #region Gcm private int problemnatureid = -1; ////Id private string problemnaturecode; ////Code private string problemnaturename; ////Name #endregion private DateTime callplandate = DateTime.Now; ////PlanDate private DateTime callpossibledate = DateTime.Now; ////PossibleDate private double callestimatedlabouramount = 0; ////EstimatedLabourAmount private double callestimatedsparesamount = 0; ////EstimatedSparesAmount private double callestimatedothersamount = 0; ////EstimatedOthersAmount private double callestimatedtotalamount = 0; ////EstimatedTotalAmount #region EstimatedBy private int estimatedbyid = -1; private string estimatedbycode; private string estimatedbyname; #endregion private double calllabouramount = 0; ////LabourAmount private double callsparesamount = 0; ////SparesAmount private double callotheramount = 0; ////OtherAmount private double calltotalamount = 0; ////TotalAmount #region Person private int personid = -1; private string personcode; private string personname; #endregion private byte callindooroutdoor = 0; ////IndoorOutdoor private byte callisitemreceived = 0; ////IsItemReceived private string callitemreceivedremarks = "NONE"; ////ItemReceivedRemarks private byte callisstandbygiven = 0; ////IsStandByGiven #region Item private int standbyitemid = -1; ////Id private string standbyitemcode; ////Code private string standbyitemname; ////Name #endregion private string callstandbyremarks; ////StandByRemarks #region User private int completedbyid = -1; ////Id private string completedbycode; ////Code private string completedbyname; ////Name #endregion private DateTime callcompletedon = DateTime.Now; ////CompletedOn private Int16 callcompletedontime = 0; ////CompletedOnTime private string callcustomerfeedback = "NONE"; ////CustomerFeedback private byte callisclosed = 0; ////IsClosed #region User private int closedbyid = -1; ////Id private string closedbycode; ////Code private string closedbyname; ////Name #endregion private DateTime callclosedon = DateTime.Now; ////ClosedOn private Int16 callclosedontime = 0; ////CloseOnTime #region Reason private int reasonid = -1; ////Id private string reasoncode; ////Code private string reasonname; ////Name #endregion private byte callisaccounted = 0; ////IsAccounted private string mailid = "NONE"; #region "For Allocation Againest purpose" private int allotedbiztransactiontypeid = -1; ////For Allocation Againest purpose private int allotedbiztransactionclassid = -1; ////For Allocation Againest purpose private int allotedheadertypeid = -1; ////For Allocation Againest purpose private int allotedheaderobjectid = -1; ////For Allocation Againest purpose private int allotedobjecttypeid = -1; private int allotedobjectid = -1; ////For Allocation Againest purpose private byte allotedforprocessordespatch; #region Newlyadded private int rootcauseid = -1; //Id private string rootcausecode; //Code private string rootcausename; //Name private string rootcausedescription = "NONE"; //RootCauseDescription private byte callcallonobjectstatus = 0; ////callonobjectstatus #endregion #endregion private List callvsdefectsarray = new List(); #endregion #region Base private byte callstatus; ////Status private Int16 callversion; ////Version #endregion #region Standard private int callcreatedbyid; ////CreatedById private DateTime callcreatedon; ////CreatedOn private int callmodifiedbyid; ////ModifiedById private DateTime callmodifiedon; ////ModifiedOn #endregion public string CallProblemTimeActual = "NONE"; public string CallCompletedOnTimeActual = "NONE"; public string CallClosedOnTimeActual = "NONE"; private DateTime supplierwarrantytodate = DateTime.Now; ////supplierwarrantytodate private DateTime saleswarrantytodate = DateTime.Now; ////saleswarrantytodate private byte callcallcallallotedmode; #endregion #region PublicMembers #region Call public int CallId { get { return callid; } ////Id set { callid = value; } } public string CallNumber { get { return callnumber; } ////Id set { callnumber = value; } } #region OrganizationUnit public int OUId { get { return ouid; } ////Id set { ouid = value; } ////Id } public string OUCode { get { return oucode; } ////Code set { oucode = value; } ////Code } public string OUName { get { return ouname; } ////Name set { ouname = value; } ////Name } #endregion #region BizTransactionType public int BIZTransactionTypeId { get { return biztransactiontypeid; } ////Id set { biztransactiontypeid = value; } ////Id } public string BIZTransactionTypeCode { get { return biztransactiontypecode; } ////Code set { biztransactiontypecode = value; } ////Code } public string BIZTransactionTypeName { get { return biztransactiontypename; } ////Name set { biztransactiontypename = value; } ////Name } #endregion #region Period public int PeriodId { get { return periodid; } ////Id set { periodid = value; } ////Id } public string PeriodCode { get { return periodcode; } ////Code set { periodcode = value; } ////Code } public string PeriodName { get { return periodname; } ////Name set { periodname = value; } ////Name } public DateTime PeriodFromDate { get { return periodfromdate; } ////FromDate set { periodfromdate = value; } ////FromDate } public DateTime PeriodToDate { get { return periodtodate; } ////ToDate set { periodtodate = value; } ////ToDate } #endregion public DateTime CallDate { get { return calldate; } ////Date set { calldate = value; MailCallDate = value.ToString("MMMM dd, yyyy"); } ////Date } public string CallReferenceNumber { get { return callreferencenumber; } ////ReferenceNumber set { callreferencenumber = value; } } public DateTime CallReferenceDate { get { return callreferencedate; } ////ReferenceDate set { callreferencedate = value; } } public int ObjectTypeId { get { return objecttypeid; } ////ObjectTypeId set { objecttypeid = value; } } public string ObjectTypeCode { get { return objecttypecode; } ////ObjectTypeId set { objecttypecode = value; } } public string ObjectTypeName { get { return objecttypename; } ////ObjectTypeId set { objecttypename = value; } } public int CallObjectId { get { return callobjectid; } ////ObjectId set { callobjectid = value; } } #region Party public int PartyId { get { return partyid; } ////Id set { partyid = value; } ////Id } public string PartyCode { get { return partycode; } ////Code set { partycode = value; } ////Code } public string PartyName { get { return partyname; } ////Name set { partyname = value; } ////Name } #endregion #region PartyBranch public int PartyBranchId { get { return partybranchid; } ////Id set { partybranchid = value; } ////Id } public string PartyBranchCode { get { return partybranchcode; } ////Code set { partybranchcode = value; } ////Code } public string PartyBranchName { get { return partybranchname; } ////Name set { partybranchname = value; } ////Name } #endregion #region Employee public int EmployeeId { get { return employeeid; } ////Id set { employeeid = value; } ////Id } public string EmployeeCode { get { return employeecode; } ////Code set { employeecode = value; } ////Code } public string EmployeeName { get { return employeename; } ////Name set { employeename = value; } ////Name } #endregion #region Address public int ContactId { get { return contactid; } ////Id set { contactid = value; } ////Id } public string ContactName { get { return contactname; } ////Name set { contactname = value; } ////Name } #endregion #region Address public int AddressId { get { return addressid; } ////Id set { addressid = value; } ////Id } public string AddressLine1 { get { return addressline1; } ////Line1 set { addressline1 = value; } ////Line1 } public string AddressLine2 { get { return addressline2; } ////Line2 set { addressline2 = value; } ////Line2 } public string AddressLine3 { get { return addressline3; } ////Line3 set { addressline3 = value; } ////Line3 } public string AddressLine4 { get { return addressline4; } ////Line4 set { addressline4 = value; } ////Line4 } public string AddressLine5 { get { return addressline5; } ////Line5 set { addressline5 = value; } ////Line5 } public string AddressZipCode { get { return addresszipcode; } ////ZipCode set { addresszipcode = value; } ////ZipCode } public string AddressMail { get { return addressmail; } ////Mail set { addressmail = value; } ////Mail } #endregion public string CallReportedByName { get { return callreportedbyname; } ////ReportedByName set { callreportedbyname = value; } } #region Employee public int ReportedById { get { return reportedbyid; } ////Id set { reportedbyid = value; } ////Id } public string ReportedByCode { get { return reportedbycode; } ////Code set { reportedbycode = value; } ////Code } public string ReportedByName { get { return reportedbyname; } ////Name set { reportedbyname = value; } ////Name } #endregion #region ReceivedBy public int ReceivedById { get { return receivedbyid; } ////Id set { receivedbyid = value; } ////Id } public string ReceivedByCode { get { return receivedbycode; } ////Code set { receivedbycode = value; } ////Code } public string ReceivedByName { get { return receivedbyname; } ////Name set { receivedbyname = value; } ////Name } #endregion public byte CallCallReceivedMode { get { return callcallreceivedmode; } ////CallReceivedMode set { callcallreceivedmode = value; } } #region Gcm public int CallTypeId { get { return calltypeid; } ////Id set { calltypeid = value; } ////Id } public string CallTypeCode { get { return calltypecode; } ////Code set { calltypecode = value; } ////Code } public string CallTypeName { get { return calltypename; } ////Name set { calltypename = value; } ////Name } #endregion public byte CallCallGenerationType { get { return callcallgenerationtype; } ////CallGenerationType set { callcallgenerationtype = value; } } public int CallContract { get { return callcontract; } ////ContractId set { callcontract = value; } } public byte CallContractCycleNumber { get { return callcontractcyclenumber; } ////ContractCycleNumber set { callcontractcyclenumber = value; } } #region Gcm public int CallNatureId { get { return callnatureid; } ////Id set { callnatureid = value; } ////Id } public string CallNatureCode { get { return callnaturecode; } ////Code set { callnaturecode = value; } ////Code } public string CallNatureName { get { return callnaturename; } ////Name set { callnaturename = value; } ////Name } #endregion #region Gcm public int CallPriorityId { get { return callpriorityid; } ////Id set { callpriorityid = value; } ////Id } public string CallPriorityCode { get { return callprioritycode; } ////Code set { callprioritycode = value; } ////Code } public string CallPriorityName { get { return callpriorityname; } ////Name set { callpriorityname = value; } ////Name } #endregion public DateTime CallProblemDate { get { return callproblemdate; } ////ProblemDate set { callproblemdate = value; MailCallProblemDate = value.ToString("MMMM dd, yyyy"); } ////Date } public string MailCallProblemDate; public Int16 CallProblemTime { get { return callproblemtime; } ////ProblemTime set { callproblemtime = value; TimeSpan CallProblemTimetime = TimeSpan.FromMinutes(value); string CallProblemTimetimes = CallProblemTimetime.ToString(@"hh\:mm"); CallProblemTimeActual = Convert.ToString(CallProblemTimetimes); } } public DateTime CallPromissedDate { get { return callpromisseddate; } ////PromissedDate set { callpromisseddate = value; MailCallPromise = value.ToString("MMMM dd, yyyy"); } ////PromissedDate } public byte CallAllotedToType { get { return callallotedtotype; } ////AllotedToType set { callallotedtotype = value; } } #region Employee public int AllotedToEmployeeId { get { return allotedtoemployeeid; } ////Id set { allotedtoemployeeid = value; } ////Id } public string AllotedToEmployeeCode { get { return allotedtoemployeecode; } ////Code set { allotedtoemployeecode = value; } ////Code } public string AllotedToEmployeeName { get { return allotedtoemployeename; } ////Name set { allotedtoemployeename = value; } ////Name } #endregion #region Address public int AllotedToContactId { get { return allotedtocontactid; } ////Id set { allotedtocontactid = value; } ////Id } public string AllotedToContactName { get { return allotedtocontactname; } ////Name set { allotedtocontactname = value; } ////Name } #endregion #region Party public int AllotedToPartyId { get { return allotedtopartyid; } ////Id set { allotedtopartyid = value; } ////Id } public string AllotedToPartyCode { get { return allotedtopartycode; } ////Code set { allotedtopartycode = value; } ////Code } public string AllotedToPartyName { get { return allotedtopartyname; } ////Name set { allotedtopartyname = value; } ////Name } #endregion public byte CallCallOriginalStatus { get { return callcalloriginalstatus; } ////CallStatus set { callcalloriginalstatus = value; } } #region Gcm public int CallOnObjectTypeId { get { return callonobjecttypeid; } ////Id set { callonobjecttypeid = value; } ////Id } public string CallOnObjectTypeCode { get { return callonobjecttypecode; } ////Code set { callonobjecttypecode = value; } ////Code } public string CallOnObjectTypeName { get { return callonobjecttypename; } ////Name set { callonobjecttypename = value; } ////Name } #endregion public int CallCallOnObjectId { get { return callcallonobjectid; } ////CallOnObjectId set { callcallonobjectid = value; } } public string CallCallOnName { get { return callcallonname; } ////CallOnName set { callcallonname = value; } } public byte CallCoverageStatus { get { return callcoveragestatus; } ////CoverageStatus set { callcoveragestatus = value; } } public string CallReportedProblem { get { return callreportedproblem; } ////ReportedProblem set { callreportedproblem = value; } } public string CallActionTaken { get { return callactiontaken; } ////ActionTaken set { callactiontaken = value; } } public string CallCustomerRemarks { get { return callcustomerremarks; } ////CustomerRemarks set { callcustomerremarks = value; } } #region Gcm public int ProblemNatureId { get { return problemnatureid; } ////Id set { problemnatureid = value; } ////Id } public string ProblemNatureCode { get { return problemnaturecode; } ////Code set { problemnaturecode = value; } ////Code } public string ProblemNatureName { get { return problemnaturename; } ////Name set { problemnaturename = value; } ////Name } #endregion public DateTime CallPlanDate { get { return callplandate; } ////PlanDate set { callplandate = value; } } public DateTime CallPossibleDate { get { return callpossibledate; } ////PossibleDate set { callpossibledate = value; } } public double CallEstimatedLabourAmount { get { return callestimatedlabouramount; } ////EstimatedLabourAmount set { callestimatedlabouramount = value; } } public double CallEstimatedSparesAmount { get { return callestimatedsparesamount; } ////EstimatedSparesAmount set { callestimatedsparesamount = value; } } public double CallEstimatedOthersAmount { get { return callestimatedothersamount; } ////EstimatedOthersAmount set { callestimatedothersamount = value; } } public double CallEstimatedTotalAmount { get { return callestimatedtotalamount; } ////EstimatedTotalAmount set { callestimatedtotalamount = value; } } #region Estimated By public int EstimatedById { get { return estimatedbyid; } ////Estimated By set { estimatedbyid = value; } } public string EstimatedByCode { get { return estimatedbycode; } ////Estimated By set { estimatedbycode = value; } } public string EstimatedByName { get { return estimatedbyname; } ////Estimated By set { estimatedbyname = value; } } #endregion public double CallLabourAmount { get { return calllabouramount; } ////LabourAmount set { calllabouramount = value; } } public double CallSparesAmount { get { return callsparesamount; } ////SparesAmount set { callsparesamount = value; } } public double CallOtherAmount { get { return callotheramount; } ////OtherAmount set { callotheramount = value; } } public double CallTotalAmount { get { return calltotalamount; } ////CallTotalAmount set { calltotalamount = value; } } #region Person public int PersonId { get { return personid; } ////Person set { personid = value; } } public string PersonCode { get { return personcode; } ////Person set { personcode = value; } } public string PersonName { get { return personname; } ////Person set { personname = value; } } #endregion public byte CallIndoorOutdoor { get { return callindooroutdoor; } ////IndoorOutdoor set { callindooroutdoor = value; } } public byte CallIsItemReceived { get { return callisitemreceived; } ////IsItemReceived set { callisitemreceived = value; } } public string CallItemReceivedRemarks { get { return callitemreceivedremarks; } ////ItemReceivedRemarks set { callitemreceivedremarks = value; } } public byte CallIsStandByGiven { get { return callisstandbygiven; } ////IsStandByGiven set { callisstandbygiven = value; } } #region Item public int StandByItemId { get { return standbyitemid; } ////Id set { standbyitemid = value; } ////Id } public string StandByItemCode { get { return standbyitemcode; } ////Code set { standbyitemcode = value; } ////Code } public string StandByItemName { get { return standbyitemname; } ////Name set { standbyitemname = value; } ////Name } #endregion public string CallStandByRemarks { get { return callstandbyremarks; } ////StandByRemarks set { callstandbyremarks = value; } } #region User public int CompletedById { get { return completedbyid; } ////Id set { completedbyid = value; } ////Id } public string CompletedByCode { get { return completedbycode; } ////Code set { completedbycode = value; } ////Code } public string CompletedByName { get { return completedbyname; } ////Name set { completedbyname = value; } ////Name } #endregion public DateTime CallCompletedOn { get { return callcompletedon; } ////CompletedOn set { callcompletedon = value; } } public Int16 CallCompletedOnTime { get { return callcompletedontime; } ////CompletedOnTime set { callcompletedontime = value; TimeSpan CallCompletedOnTimetime = TimeSpan.FromMinutes(CallCompletedOnTime); string CallCompletedOnTimetimes = CallCompletedOnTimetime.ToString(@"hh\:mm"); CallCompletedOnTimeActual = Convert.ToString(CallCompletedOnTimetimes); } } public string CallCustomerFeedback { get { return callcustomerfeedback; } ////CustomerFeedback set { callcustomerfeedback = value; } } public byte CallIsClosed { get { return callisclosed; } ////IsClosed set { callisclosed = value; } } #region User public int ClosedById { get { return closedbyid; } ////Id set { closedbyid = value; } ////Id } public string ClosedByCode { get { return closedbycode; } ////Code set { closedbycode = value; } ////Code } public string ClosedByName { get { return closedbyname; } ////Name set { closedbyname = value; } ////Name } #endregion public DateTime CallClosedOn { get { return callclosedon; } ////ClosedOn set { callclosedon = value; } } public Int16 CallClosedOnTime { get { return callclosedontime; } ////CloseOnTime set { callclosedontime = value; TimeSpan CallClosedOnTimetime = TimeSpan.FromMinutes(CallClosedOnTime); string CallClosedOnTimetimes = CallClosedOnTimetime.ToString(@"hh\:mm"); CallClosedOnTimeActual = Convert.ToString(CallClosedOnTimetimes); } } #region Reason public int ReasonId { get { return reasonid; } ////Id set { reasonid = value; } } public string ReasonCode { get { return reasoncode; } ////Code set { reasoncode = value; } } public string ReasonName { get { return reasonname; } ////Name set { reasonname = value; } } #endregion public byte CallIsAccounted { get { return callisaccounted; } ////IsAccounted set { callisaccounted = value; } } public string MailId { get { return mailid; } ////IsAccounted set { mailid = value; } } #region "For Allocation Againest purpose" public int AllotedBizTransactionTypeId ////For Allocation Againest purpose { get { return allotedbiztransactiontypeid; } set { allotedbiztransactiontypeid = value; } } public int AllotedBizTransactionClassId ////For Allocation Againest purpose { get { return allotedbiztransactionclassid; } set { allotedbiztransactionclassid = value; } } public int AllotedHeaderTypeId ////For Allocation Againest purpose { get { return allotedheadertypeid; } set { allotedheadertypeid = value; } } public int AllotedHeaderObjectId ////For Allocation Againest purpose { get { return allotedheaderobjectid; } set { allotedheaderobjectid = value; } } public int AllotedObjectTypeId ////For Allocation Againest purpose { get { return allotedobjecttypeid; } set { allotedobjecttypeid = value; } } public int AllotedObjectId ////For Allocation Againest purpose { get { return allotedobjectid; } set { allotedobjectid = value; } } public byte AllotedForProcessOrDespatch ////For Allocation Againest purpose { get { return allotedforprocessordespatch; } set { allotedforprocessordespatch = value; } } #endregion public List CallVsDefectsArray { get { return callvsdefectsarray; } set { callvsdefectsarray = value; } } #endregion #region Allocation public int AllocationId { get { return allocationid; } ////Id set { allocationid = value; } ////Id } public string AllocationName { get { return allocationname; } ////Code set { allocationname = value; } ////Code } public string AllocationShortName { get { return allocationshortname; } ////Name set { allocationshortname = value; } ////Name } #endregion #region Newlyadded public int RootCauseId { get { return rootcauseid; } //Id set { rootcauseid = value; } } public string RootCauseCode { get { return rootcausecode; } //Code set { rootcausecode = value; } } public string RootCauseName { get { return rootcausename; } //Name set { rootcausename = value; } } public string RootCauseDescription { get { return rootcausedescription; } //RootCauseDescription set { rootcausedescription = value; } //RootCauseDescription } public byte CallCallonObjectStatus { get { return callcallonobjectstatus; } ////IndoorOutdoor set { callcallonobjectstatus = value; } } private string originalstatus; public string OriginalStatus { get { return originalstatus; } //OriginalStatus set { originalstatus = value; } //OriginalStatus } private string mailcalloriginalstatus; public string MailCallOriginalStatus { get { return mailcalloriginalstatus; } //CallOriginalStatus set { mailcalloriginalstatus = value; } //CallOriginalStatus } #endregion #region TempFields public string MailCallDate; private string mailcalltypename; public string MailCallTypeName { get { return mailcalltypename; } //MailCallTypeName set { mailcalltypename = value; } //MailCallTypeName } private string mailcallnaturename; public string MailCallNatureName { get { return mailcallnaturename; } //MailCallNatureName set { mailcallnaturename = value; } //MailCallNatureName } private string mailtypeofcall; public string MailTypeOfCall { get { return mailtypeofcall; } //MailTypeOfCall set { mailtypeofcall = value; } //MailTypeOfCall } public string MailCallPromise; private string mailpartyname; public string MailPartyName { get { return mailpartyname; } //MailPartyName set { mailpartyname = value; } //MailPartyName } private string mailreportedbyname; public string MailReportedByName { get { return mailreportedbyname; } //MailReportedByName set { mailreportedbyname = value; } //MailReportedByName } private int tactionposting = 0; private int activitybiztransactiontypeid = -1; public int TActionPosting { get { return tactionposting; } //TActionPosting set { tactionposting = value; } //TActionPosting } public int ActivityBIZTransactionTypeId { get { return activitybiztransactiontypeid; } set { activitybiztransactiontypeid = value; } } private int itembrandid; private string itembrandcode; private string itembrandname; private int itemcategoryid; private string itemcategorycode; private string itemcategoryname; private int cityid; private string citycode; private string cityname; private int locationid; private string locationcode; private string locationname; private string serialnumber; private Int16 itemslno; public string SerialNumber { get { return serialnumber; } set { serialnumber = value; } } public Int16 ItemSlno { get { return itemslno; } set { itemslno = value; } } public int ItemBrandId { get { return itembrandid; } set { itembrandid = value; } } public string ItemBrandCode { get { return itembrandcode; } set { itembrandcode = value; } } public string ItemBrandName { get { return itembrandname; } set { itembrandname = value; } } public int ItemCategoryId { get { return itemcategoryid; } set { itemcategoryid = value; } } public string ItemCategoryCode { get { return itemcategorycode; } set { itemcategorycode = value; } } public string ItemCategoryName { get { return itemcategoryname; } set { itemcategoryname = value; } } public int CityId { get { return cityid; } set { cityid = value; } } public string CityCode { get { return citycode; } set { citycode = value; } } public string CityName { get { return cityname; } set { cityname = value; } } public int LocationId { get { return locationid; } set { locationid = value; } } public string LocationCode { get { return locationcode; } set { locationcode = value; } } public string LocationName { get { return locationname; } set { locationname = value; } } public DateTime SupplierWarrantyToDate { get { return supplierwarrantytodate; } set { supplierwarrantytodate = value; } } public DateTime SalesWarrantyToDate { get { return saleswarrantytodate; } set { saleswarrantytodate = value; } } #endregion #region Base public byte CallStatus { get { return callstatus; } ////Status set { callstatus = value; } ////Status } public Int16 CallVersion { get { return callversion; } ////Version set { callversion = value; } ////Version } #endregion #region Standard public int CallCreatedById { get { return callcreatedbyid; } ////CreatedById set { callcreatedbyid = value; } ////CreatedById } public DateTime CallCreatedOn { get { return callcreatedon; } ////CreatedOn set { callcreatedon = value; } ////CreatedOn } public int CallModifiedById { get { return callmodifiedbyid; } ////ModifiedById set { callmodifiedbyid = value; } ////ModifiedById } public DateTime CallModifiedOn { get { return callmodifiedon; } ////ModifiedOn set { callmodifiedon = value; } ////ModifiedOn } #endregion private string equipmentname = "NONE"; private string equipmentcode = "NONE"; private int equipmentrunningstatus = 0; private string equipmentserialnumber = "NONE"; private string location = "NONE"; private int warrantystatus = 0; private string criticalstatus = "NONE"; private string attachmentstatusname = "NONE"; private string phonenumber = "NONE"; private string mobilenumber = "NONE"; private string invoicenumber = "NONE"; private DateTime invoicedate = DateTime.Now; private string reportedproblem = "NONE"; private string manufacslno = "NONE"; private string coveragestatus = "NONE"; private string alternativemobile = "NONE"; private int shippingaddressid = -1; private DateTime extendedfrom = DateTime.Now; private DateTime extendedto = DateTime.Now; private string extendedremarks = "NONE"; private string warrantytype = "NONE"; private int warrantybyid = -1; private string warrantybycode; private string warrantybyname; private int extendedbyid = -1; private string extendedbycode; private string extendedbyname; private byte warrantytypes; public string ManuFacSlno { get { return manufacslno; } set { manufacslno = value; } } public string CoverageStatus { get { return coveragestatus; } set { coveragestatus = value; } } public string EquipmentName { get { return equipmentname; } set { equipmentname = value; } } public string EquipmentCode { get { return equipmentcode; } set { equipmentcode = value; } } public int EquipmentRunningStatus { get { return equipmentrunningstatus; } set { equipmentrunningstatus = value; } } public string EquipmentSerialNumber { get { return equipmentserialnumber; } set { equipmentserialnumber = value; } } public string Location { get { return location; } set { location = value; } } public int WarrantyStatus { get { return warrantystatus; } set { warrantystatus = value; } } public string CriticalStatus { get { return criticalstatus; } set { criticalstatus = value; } } public string AttachmentStatusName { get { return attachmentstatusname; } set { attachmentstatusname = value; } } public string ReportedProblem { get { return reportedproblem; } ////ReportedProblem set { reportedproblem = 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 string AlternativeMobile { get { return alternativemobile; } set { alternativemobile = value; } } public int ShippingAddressId { get { return shippingaddressid; } set { shippingaddressid = 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 Int64 numberofrecords; public Int64 NumberOfRecords { get { return numberofrecords; } ////TActionId set { numberofrecords = value; } } public byte CallAllotedMode { get { return callcallcallallotedmode; } set { callcallcallallotedmode = value; } } #endregion } }