using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRMDAL.DTO.Call { public record CallDTO { #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 DateOnly periodfromdate; ////FromDate private DateOnly periodtodate; ////ToDate #endregion private DateOnly calldate = DateOnly.FromDateTime(DateTime.Today); ////Date private string callreferencenumber = "NONE"; ////ReferenceNumber private DateOnly callreferencedate = DateOnly.FromDateTime(DateTime.Today); ////ReferenceDate private int objecttypeid = -1; ////ObjectTypeId private string objecttypecode; ////ObjectTypeId private string objecttypename; ////ObjectTypeId private int callobjectid; ////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 = "0"; ////ZipCode private string addressmail = "NONE"; ////Mail #endregion private string callreportedbyname = "NONE"; ////ReportedByName #region Employee private int reportedbyid = -1; ////Id private string reportedbycode = "NONE"; ////Code private string reportedbyname = "NONE"; ////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; ////CallGenerationType private int callcontract = -1; ////ContractId private byte callcontractcyclenumber; ////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 DateOnly callproblemdate = DateOnly.FromDateTime(DateTime.Today); ////ProblemDate private Int16 callproblemtime = 0; ////ProblemTime private DateOnly callpromisseddate = DateOnly.FromDateTime(DateTime.Today); ////PromissedDate private byte callallotedtotype; ////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; ////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 DateOnly callplandate = DateOnly.FromDateTime(DateTime.Today); ////PlanDate private DateOnly callpossibledate = DateOnly.FromDateTime(DateTime.Today); ////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 = 1; ////IsItemReceived private string callitemreceivedremarks = "NONE"; ////ItemReceivedRemarks private byte callisstandbygiven = 1; ////IsStandByGiven #region Item private int standbyitemid = -1; ////Id private string standbyitemcode; ////Code private string standbyitemname; ////Name #endregion private string callstandbyremarks = "NONE"; ////StandByRemarks #region User private int completedbyid = -1; ////Id private string completedbycode; ////Code private string completedbyname; ////Name #endregion private DateTimeOffset callcompletedon = DateTimeOffset.UtcNow; ////CompletedOn private Int16 callcompletedontime = 0; ////CompletedOnTime private string callcustomerfeedback = "NONE"; ////CustomerFeedback private byte callisclosed; ////IsClosed #region User private int closedbyid = -1; ////Id private string closedbycode; ////Code private string closedbyname; ////Name #endregion private DateTimeOffset callclosedon = DateTimeOffset.UtcNow; ////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; ////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 = 0; #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(); private int callfrommobileapp = 1; //0-True,1.False private byte callallotedmode; #endregion #region Base private byte callstatus; ////Status private Int16 callversion; ////Version private string callmanufacturerslno; #endregion #region Standard private int callcreatedbyid; ////CreatedById private DateTimeOffset callcreatedon; ////CreatedOn private int callmodifiedbyid; ////ModifiedById private DateTimeOffset callmodifiedon; ////ModifiedOn #endregion public string CallProblemTimeActual = "NONE"; public string CallCompletedOnTimeActual = "NONE"; public string CallClosedOnTimeActual = "NONE"; #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 DateOnly PeriodFromDate { get { return periodfromdate; } ////FromDate set { periodfromdate = value; } ////FromDate } public DateOnly PeriodToDate { get { return periodtodate; } ////ToDate set { periodtodate = value; } ////ToDate } #endregion public DateOnly CallDate { get { return calldate; } ////Date set { calldate = value; MailCallDate = value.ToString("dd-MMM-yyyy"); } ////Date } public string CallReferenceNumber { get { return callreferencenumber; } ////ReferenceNumber set { callreferencenumber = value; } } public DateOnly CallReferenceDate { get { return callreferencedate; } ////ReferenceDate set { callreferencedate = value; MailCallReferenceDate = value.ToString("dd-MMM-yyyy"); } } 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 DateOnly CallProblemDate { get { return callproblemdate; } ////ProblemDate set { callproblemdate = value; MailCallProblemDate = value.ToString("dd-MMM-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 DateOnly CallPromissedDate { get { return callpromisseddate; } ////PromissedDate set { callpromisseddate = value; MailCallPromise = value.ToString("dd-MMM-yyyy"); } } 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 DateOnly CallPlanDate { get { return callplandate; } ////PlanDate set { callplandate = value; } } public DateOnly 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 DateTimeOffset CallCompletedOn { get { return callcompletedon; } ////CompletedOn set { callcompletedon = value; MailCallCompletedOn = value.ToString("dd-MMM-yyyy"); } } 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 DateTimeOffset CallClosedOn { get { return callclosedon; } ////ClosedOn set { callclosedon = value; MailCallClosedOn = value.ToString("dd-MMM-yyyy"); } } 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; } } public int CallFromMobileApp { get { return callfrommobileapp; } set { callfrommobileapp = 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; public string MailCallReferenceDate; 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 = "NONE"; public string MailReportedByName { get { return mailreportedbyname; } //MailReportedByName set { mailreportedbyname = value; } //MailReportedByName } private int tactionposting = 0; private int activitybiztransactiontypeid = -1; private string equipmentname; private string equipmentcode; private string equipmentrunningstatus; private string equipmentserialnumber; private string location; private string warrantystatus; private string criticalstatus; private string attachmentstatusname; private string temppromissedtime; private string callcreatedbyname; private string callmodifiedbyname; public string TempPromissedTime { get { return temppromissedtime; } set { temppromissedtime = value; } } public string CallCreatedByName { get { return callcreatedbyname; } set { callcreatedbyname = value; } } public string CallModifiedByName { get { return callmodifiedbyname; } set { callmodifiedbyname = value; } } public int TActionPosting { get { return tactionposting; } //TActionPosting set { tactionposting = value; } //TActionPosting } public int ActivityBIZTransactionTypeId { get { return activitybiztransactiontypeid; } set { activitybiztransactiontypeid = value; } } public string EquipmentName { get { return equipmentname; } set { equipmentname = value; } } public string EquipmentCode { get { return equipmentcode; } set { equipmentcode = value; } } public string 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 string 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 CallManufacturerSlno { get { return callmanufacturerslno; } ////CallManufacturerSlno set { callmanufacturerslno = value; } ////CallManufacturerSlno } #endregion #region Base [GB5Shared.EntityHandler.WorkflowStatusField] 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 DateTimeOffset CallCreatedOn { get { return callcreatedon; } ////CreatedOn set { callcreatedon = value; } ////CreatedOn } public int CallModifiedById { get { return callmodifiedbyid; } ////ModifiedById set { callmodifiedbyid = value; } ////ModifiedById } public DateTimeOffset CallModifiedOn { get { return callmodifiedon; } ////ModifiedOn set { callmodifiedon = value; } ////ModifiedOn } #endregion private string smsno; public string SMSNo { get { return smsno; } ////callmanufacturerslno set { smsno = value; } ////callmanufacturerslno } private int iscontactsave = 1; public int IsContactSave { get { return iscontactsave; } set { iscontactsave = value; } } private string tempcontactname = "NONE"; public string TempContactName { get { return tempcontactname; } set { tempcontactname = value; } } private string tempcontactmobile; public string TempContactMobile { get { return tempcontactmobile; } set { tempcontactmobile = value; } } // Mirrors TaskDTO.TaskWorkFlowRequired: 1 = bypass workflow pipeline (direct save, // current/legacy behavior); 0/unset = route through BaseEntityAppService.ExecuteSaveAsync // so MWORKFLOWCONFIG can optionally gate approval for this Call's BizTransactionType. private byte callworkflowrequired = 0; public byte CallWorkFlowRequired { get { return callworkflowrequired; } set { callworkflowrequired = value; } } #endregion public string mailcallcompletedon = "NONE"; public string mailcallclosedon = "NONE"; public string menuname = "NONE"; public string MenuName { get { return menuname; } set { menuname = value; } } public string MailCallCompletedOn { get { return mailcallcompletedon; } set { mailcallcompletedon = value; } } public string MailCallClosedOn { get { return mailcallclosedon; } set { mailcallclosedon = value; } } public byte CallAllotedMode { get { return callallotedmode; } set { callallotedmode = value; } } private string allotedcompletedmailid = ""; public string AllotedCompletedMailId { get { return allotedcompletedmailid; } set { allotedcompletedmailid = value; } } private int reportingemployee; private int siteincharge; private string categorycode; private string partybranchlocationname; private int isgenralcall = 1; public int ReportingEmployee { get { return reportingemployee; } set { reportingemployee = value; } } public int SiteIncharge { get { return siteincharge; } set { siteincharge = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string PartyBranchLocationName { get { return partybranchlocationname; } set { partybranchlocationname = value; } } public int IsGenralCall { get { return isgenralcall; } set { isgenralcall = value; } } private string notifyuser; public string NotifyUser { get { return notifyuser; } set { notifyuser = value; } } private string assetinchargemailids = ""; private string assetinchargemobilesmsnos = ""; public string AssetInchargeMailIds { get { return assetinchargemailids; } set { assetinchargemailids = value; } } public string AssetInchargeMobileSmsNos { get { return assetinchargemobilesmsnos; } set { assetinchargemobilesmsnos = value; } } } }