using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CRMDAL.DTO.Task; namespace CRMDAL.DTO.Action { public class TActionDTO { #region PrivateMembers #region Action private int tactionid; ////Id #region OrganizationUnit private int organizationunitid = -1; ////Id private string organizationunitcode; ////Code private string organizationunitname; ////Name #endregion #region BizTransactionType private int biztransactiontypeid = -1; ////Id private string biztransactiontypecode; ////Code private string biztransactiontypename; ////Name #endregion private string tactiontransactionnumber = "NONE"; ////TransactionNumber private DateOnly tactiontransactiondate = DateOnly.FromDateTime(DateTime.Today); ////TransactionDate private string tactionreferencenumber = "NONE"; ////ReferenceNumber private DateOnly tactionreferencedate = DateOnly.FromDateTime(DateTime.Today); ////ReferenceDate private byte tactionentrymode = 0; ////EntryMode #region Device private int deviceid = -1; ////Id private string devicecode; ////Code private string devicename; ////Name #endregion #region PartyBranch private int partybranchid = -1; ////Id private string partybranchcode; ////Code private string partybranchname; ////Name #endregion #region User private int personid = -1; ////Id private string personcode; ////Code private string personname; ////Name #endregion private DateOnly tactionperiodfrom = DateOnly.FromDateTime(DateTime.Today); ////PeriodFrom private DateOnly tactionperiodto = DateOnly.FromDateTime(DateTime.Today); ////PeriodTo private string tactionremarks = "NONE"; ////Remarks private string tactiontags = "NONE"; ////Tags #region ActionDetail #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 #region OtherCharge private int otherchargeid = -1; ////Id private string otherchargecode; ////Code private string otherchargename; ////Name private int isleadvalue = -1; ////Id #endregion private byte tactionbytype; //ActionByType private string mastergeocode = "0,0"; private string tactioncreatedat = "0,0"; private string tactionmodifiedat = "0,0"; private int updatelead = 0; private int fromresourcepunch = 0; private List actiondetailarray = new List(); #endregion #region Base private byte tactionstatus; ////Status private Int16 tactionversion; ////Version #endregion #region Standard private int tactioncreatedbyid; ////CreatedById private DateOnly tactioncreatedon; ////CreatedOn private int tactionmodifiedbyid; ////ModifiedById private DateOnly tactionmodifiedon; ////ModifiedOn #endregion #endregion #region PublicMembers #region Action public int TActionId { get { return tactionid; } ////Id set { tactionid = value; } ////Id } #region OrganizationUnit public int OrganizationUnitId { get { return organizationunitid; } ////Id set { organizationunitid = value; } ////Id } public string OrganizationUnitCode { get { return organizationunitcode; } ////Code set { organizationunitcode = value; } ////Code } public string OrganizationUnitName { get { return organizationunitname; } ////Name set { organizationunitname = 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 public string TActionTransactionNumber { get { return tactiontransactionnumber; } ////TransactionNumber set { tactiontransactionnumber = value; } ////TransactionNumber } public DateOnly TActionTransactionDate { get { return tactiontransactiondate; } ////TransactionDate set { tactiontransactiondate = value; ActivityDateOnly = value.ToString("MMMM dd, yyyy"); } ////TransactionDate } public string TActionReferenceNumber { get { return tactionreferencenumber; } ////ReferenceNumber set { tactionreferencenumber = value; } ////ReferenceNumber } public DateOnly TActionReferenceDate { get { return tactionreferencedate; } ////ReferenceDate set { tactionreferencedate = value; } ////ReferenceDate } public byte TActionEntryMode { get { return tactionentrymode; } ////EntryMode set { tactionentrymode = value; } ////EntryMode } #region Device public int DeviceId { get { return deviceid; } ////Id set { deviceid = value; } ////Id } public string DeviceCode { get { return devicecode; } ////Code set { devicecode = value; } ////Code } public string DeviceName { get { return devicename; } ////Name set { devicename = 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 User public int PersonId { get { return personid; } ////Id set { personid = value; } ////Id } public string PersonCode { get { return personcode; } ////Code set { personcode = value; } ////Code } public string PersonName { get { return personname; } ////Name set { personname = value; } ////Name } #endregion public DateOnly TActionPeriodFrom { get { return tactionperiodfrom; } ////PeriodFrom set { tactionperiodfrom = value; } ////PeriodFrom } public DateOnly TActionPeriodTo { get { return tactionperiodto; } ////PeriodTo set { tactionperiodto = value; } ////PeriodTo } public string TActionRemarks { get { return tactionremarks; } ////Remarks set { tactionremarks = value; } ////Remarks } public string TActionTags { get { return tactiontags; } ////Tags set { tactiontags = value; } ////Tags } #region TActionDetail #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 #region OtherCharge public int OtherChargeId { get { return otherchargeid; } ////Id set { otherchargeid = value; } ////Id } public int IsLeadValue { get { return isleadvalue; } ////Id set { isleadvalue = value; } ////Id } public string OtherChargeCode { get { return otherchargecode; } ////Code set { otherchargecode = value; } ////Code } public string OtherChargeName { get { return otherchargename; } ////Name set { otherchargename = value; } ////Name } #endregion public string MailId; public List ActionDetailArray { get { return actiondetailarray; } set { actiondetailarray = value; } } private TaskDTO taskdto; public TaskDTO TaskDTO { get { return taskdto; } set { taskdto = value; } } public string ActivityDateOnly; private int tempcallstatus = 1; private byte callupdatestatus; private byte callisclosed = 1; public int TempCallStatus { get { return tempcallstatus; } set { tempcallstatus = value; } } public byte CallUpdateStatus { get { return callupdatestatus; } set { callupdatestatus = value; } } public byte CallIsClosed { get { return callisclosed; } set { callisclosed = value; } } private string partyname; public string PartyName { get { return partyname; } ////Code set { partyname = value; } ////Code } private string categoryname; public string CategoryName { get { return categoryname; } ////Code set { categoryname = value; } ////Code } private string stagename; public string StageName { get { return stagename; } ////Code set { stagename = value; } ////Code } private string priorityname; public string PriorityName { get { return priorityname; } ////Code set { priorityname = value; } ////Code } private DateOnly generateddate; public DateOnly GeneratedDate { get { return generateddate; } ////ToDate set { generateddate = value; } ////ToDate } private DateOnly expecteddate; public DateOnly ExpectedDate { get { return expecteddate; } ////ToDate set { expecteddate = value; } ////ToDate } private DateOnly wonlossdate; public DateOnly WonLossDate { get { return wonlossdate; } ////ToDate set { wonlossdate = value; } ////ToDate } private string leaddescriptionname; public string LeadDescriptionName { get { return leaddescriptionname; } ////Code set { leaddescriptionname = value; } ////Code } private string leadcontactname; public string LeadContactName { get { return leadcontactname; } ////Code set { leadcontactname = value; } ////Code } private string leadcontactmobilenumber; private string leadcontactemail; private string webid; public string LeadContactMobileNumber { get { return leadcontactmobilenumber; } ////Code set { leadcontactmobilenumber = value; } ////Code } public string LeadContactEMail { get { return leadcontactemail; } ////Code set { leadcontactemail = value; } ////Code } public string WebId { get { return webid; } ////Code set { webid = value; } ////Code } private string leadcityname; private int helpdeskcall = 0; private DateOnly completedondate; private string completedontime = "NONE"; public int HelpDeskCall { get { return helpdeskcall; } ////helpdeskcall set { helpdeskcall = value; } ////helpdeskcall } public DateOnly CompletedOnDate { get { return completedondate; } ////completedondate set { completedondate = value; } ////completedondate } public string CompletedOnTime { get { return completedontime; } ////CompletedOnTime set { completedontime = value; } ////CompletedOnTime } public string LeadCityName { get { return leadcityname; } ////Code set { leadcityname = value; } ////Code } public int UpdateLead { get { return updatelead; } set { updatelead = value; } } public int FromResourcePunch { get { return fromresourcepunch; } set { fromresourcepunch = value; } } private string actionactivityname; private string assignedtocontactname; private string personto; private Int16 durationtime; public string ActionActivityName { get { return actionactivityname; } set { actionactivityname = value; } } public string AssignedToContactName { get { return assignedtocontactname; } set { assignedtocontactname = value; } } public string PersonTo { get { return personto; } set { personto = value; } } public Int16 DurationTime { get { return durationtime; } set { durationtime = value; } } #endregion #region Base public byte TActionStatus { get { return tactionstatus; } ////Status set { tactionstatus = value; } ////Status } public Int16 TActionVersion { get { return tactionversion; } ////Version set { tactionversion = value; } ////Version } #endregion #region Standard public int TActionCreatedById { get { return tactioncreatedbyid; } ////CreatedById set { tactioncreatedbyid = value; } ////CreatedById } public DateOnly TActionCreatedOn { get { return tactioncreatedon; } ////CreatedOn set { tactioncreatedon = value; } ////CreatedOn } public int TActionModifiedById { get { return tactionmodifiedbyid; } ////ModifiedById set { tactionmodifiedbyid = value; } ////ModifiedById } public DateOnly TActionModifiedOn { get { return tactionmodifiedon; } ////ModifiedOn set { tactionmodifiedon = value; } ////ModifiedOn } #endregion private string reportingtomailid; private string reportingtomobile; public string ReportingToMailId { get { return reportingtomailid; } set { reportingtomailid = value; } } public string ReportingToMobile { get { return reportingtomobile; } set { reportingtomobile = value; } } //private List actionattachmentdtos = new List(); //public List ActionAttachmentDTOs //{ // get { return actionattachmentdtos; } // set { actionattachmentdtos = value; } //} public byte TActionByType { get { return tactionbytype; } set { tactionbytype = value; } } public string MasterGeoCode { get { return mastergeocode; } //TActionCreatedAt set { mastergeocode = value; } //TActionCreatedAt } public string TActionCreatedAt { get { return tactioncreatedat; } //TActionCreatedAt set { tactioncreatedat = value; } //TActionCreatedAt } public string TActionModifiedAt { get { return tactionmodifiedat; } //TActionModifiedAt set { tactionmodifiedat = value; } //TActionModifiedAt } #endregion } }