using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MaintenanceDAL.DTO.Activity { public class ActivityDTO { #region PrivateMembers #region Activity private int activityid; //Id private string activitycode; //Code private string activityname; //Name private string activitynature; //Nature #region ActivityType private int activitytypeid; //Id private string activitytypecode; //Code private string activitytypename; //Name private string activitytypegeneratetype; //GenerateType private string activitytypeautotype; //AutoType private string activitytypeautotypeprocess; //AutoTypeProcess private int activitytypeclassid; //ClassId private int activitytypesubclassid; //SubClassId private byte activitytypeisactive; //IsActive private string activitytyperemarks; //Remarks #endregion private string activityprefix; //Prefix private byte activityistakepending; //IsTakePending private byte activityisallocreq; //IsAllocReq private byte activityisallocdirect; //IsAllocDirect private byte activityisproductive; //IsProductive private byte activityisrepeatable; //IsRepeatable private byte activityismultiresreq; //IsMultiResReq private byte activityisallowrework; //IsAllowRework private byte activityisoutputbased; //IsOutputBased private byte activityishaveprecon; //IsHavePrecon private string activitypreconchklist; //PreconChkList private byte activityishavepostcon; //IsHavePostcon private string activitypostconchklist; //PostconChkList private byte activityisreviewreq; //IsReviewReq private string activityreviewchklist; //ReviewChkList private byte activityisallocbased; //IsAllocBased private string activityalloctype; //AllocType private string activityactgentype; //ActGenType private string activityautotype; //AutoType private string activityautotypeprocess; //AutoTypeProcess private int activityclassid; //ClassId private int activitysubclassid; //SubClassId private byte activityisactive; //IsActive private string activityremarks; //Remarks private byte activityisnobased; //IsNoBased private Int16 activitymaxdays; //MaxDays private Int16 activitymaxhrs; //MaxHrs private Int16 activitymindays; //MinDays private Int16 activityminhrs; //MinHrs private Int16 activityavgdays; //AvgDays private Int16 activityavghrs; //AvgHrs private byte activityistravel; //IsTravel private byte activityisf2f; //IsF2F private byte activityisexpense; //IsExpense private string activityfundcode; //FundCode private byte activityisreminder; //IsReminder private Int16 activityrmdnoofdays; //RMDNoOfDays private Int16 activityrmdnoofhrs; //RMDNoOfHrs private string activityrmdmode; //RMDMode private byte activityishour; //IsHour private byte activityischarge; //IsCharge private double activitylaboutamt; //LaboutAmt private double activityohamt; //OHAmt private string activitychargetypecode; //ChargeTypeCode private string activitycollacccode; //CollAccCode private string activitypaidacccode; //PaidAccCode private string activityactivityref; //ActivityRef private string activityactcosttype; //ActCostType private string activitytimeuom; //TimeUOM private string activityitemcode; //ItemCode #endregion #region Base private int activitycreatedbyid; //CreatedById private DateTime activitycreatedon; //CreatedOn private int activitymodifiedbyid; //ModifiedById private DateTime activitymodifiedon; //ModifiedOn #endregion #region Standard private Int16 activitysortorder; //SortOrder private byte activitystatus; //Status private Int16 activityversion; //Version #endregion #endregion #region PublicMembers #region Activity public int ActivityId { get { return activityid; } //Id set { activityid = value; } //Id } public string ActivityCode { get { return activitycode; } //Code set { activitycode = value; } //Code } public string ActivityName { get { return activityname; } //Name set { activityname = value; } //Name } public string ActivityNature { get { return activitynature; } //Nature set { activitynature = value; } //Nature } #region ActivityType public int ActivityTypeId { get { return activitytypeid; } //Id set { activitytypeid = value; } //Id } public string ActivityTypeCode { get { return activitytypecode; } //Code set { activitytypecode = value; } //Code } public string ActivityTypeName { get { return activitytypename; } //Name set { activitytypename = value; } //Name } public string ActivityTypeGenerateType { get { return activitytypegeneratetype; } //GenerateType set { activitytypegeneratetype = value; } //GenerateType } public string ActivityTypeAutoType { get { return activitytypeautotype; } //AutoType set { activitytypeautotype = value; } //AutoType } public string ActivityTypeAutoTypeProcess { get { return activitytypeautotypeprocess; } //AutoTypeProcess set { activitytypeautotypeprocess = value; } //AutoTypeProcess } public int ActivityTypeClassId { get { return activitytypeclassid; } //ClassId set { activitytypeclassid = value; } //ClassId } public int ActivityTypeSubClassId { get { return activitytypesubclassid; } //SubClassId set { activitytypesubclassid = value; } //SubClassId } public byte ActivityTypeIsActive { get { return activitytypeisactive; } //IsActive set { activitytypeisactive = value; } //IsActive } public string ActivityTypeRemarks { get { return activitytyperemarks; } //Remarks set { activitytyperemarks = value; } //Remarks } #endregion public string ActivityPrefix { get { return activityprefix; } //Prefix set { activityprefix = value; } //Prefix } public byte ActivityIsTakePending { get { return activityistakepending; } //IsTakePending set { activityistakepending = value; } //IsTakePending } public byte ActivityIsAllocReq { get { return activityisallocreq; } //IsAllocReq set { activityisallocreq = value; } //IsAllocReq } public byte ActivityIsAllocDirect { get { return activityisallocdirect; } //IsAllocDirect set { activityisallocdirect = value; } //IsAllocDirect } public byte ActivityIsProductive { get { return activityisproductive; } //IsProductive set { activityisproductive = value; } //IsProductive } public byte ActivityIsRepeatable { get { return activityisrepeatable; } //IsRepeatable set { activityisrepeatable = value; } //IsRepeatable } public byte ActivityIsMultiResReq { get { return activityismultiresreq; } //IsMultiResReq set { activityismultiresreq = value; } //IsMultiResReq } public byte ActivityIsAllowRework { get { return activityisallowrework; } //IsAllowRework set { activityisallowrework = value; } //IsAllowRework } public byte ActivityIsOutputBased { get { return activityisoutputbased; } //IsOutputBased set { activityisoutputbased = value; } //IsOutputBased } public byte ActivityIsHavePrecon { get { return activityishaveprecon; } //IsHavePrecon set { activityishaveprecon = value; } //IsHavePrecon } public string ActivityPreconChkList { get { return activitypreconchklist; } //PreconChkList set { activitypreconchklist = value; } //PreconChkList } public byte ActivityIsHavePostcon { get { return activityishavepostcon; } //IsHavePostcon set { activityishavepostcon = value; } //IsHavePostcon } public string ActivityPostconChkList { get { return activitypostconchklist; } //PostconChkList set { activitypostconchklist = value; } //PostconChkList } public byte ActivityIsReviewReq { get { return activityisreviewreq; } //IsReviewReq set { activityisreviewreq = value; } //IsReviewReq } public string ActivityReviewChkList { get { return activityreviewchklist; } //ReviewChkList set { activityreviewchklist = value; } //ReviewChkList } public byte ActivityIsAllocBased { get { return activityisallocbased; } //IsAllocBased set { activityisallocbased = value; } //IsAllocBased } public string ActivityAllocType { get { return activityalloctype; } //AllocType set { activityalloctype = value; } //AllocType } public string ActivityActGenType { get { return activityactgentype; } //ActGenType set { activityactgentype = value; } //ActGenType } public string ActivityAutoType { get { return activityautotype; } //AutoType set { activityautotype = value; } //AutoType } public string ActivityAutoTypeProcess { get { return activityautotypeprocess; } //AutoTypeProcess set { activityautotypeprocess = value; } //AutoTypeProcess } public int ActivityClassId { get { return activityclassid; } //ClassId set { activityclassid = value; } //ClassId } public int ActivitySubClassId { get { return activitysubclassid; } //SubClassId set { activitysubclassid = value; } //SubClassId } public byte ActivityIsActive { get { return activityisactive; } //IsActive set { activityisactive = value; } //IsActive } public string ActivityRemarks { get { return activityremarks; } //Remarks set { activityremarks = value; } //Remarks } public byte ActivityIsNoBased { get { return activityisnobased; } //IsNoBased set { activityisnobased = value; } //IsNoBased } public Int16 ActivityMaxDays { get { return activitymaxdays; } //MaxDays set { activitymaxdays = value; } //MaxDays } public Int16 ActivityMaxHrs { get { return activitymaxhrs; } //MaxHrs set { activitymaxhrs = value; } //MaxHrs } public Int16 ActivityMinDays { get { return activitymindays; } //MinDays set { activitymindays = value; } //MinDays } public Int16 ActivityMinHrs { get { return activityminhrs; } //MinHrs set { activityminhrs = value; } //MinHrs } public Int16 ActivityAvgDays { get { return activityavgdays; } //AvgDays set { activityavgdays = value; } //AvgDays } public Int16 ActivityAvgHrs { get { return activityavghrs; } //AvgHrs set { activityavghrs = value; } //AvgHrs } public byte ActivityIsTravel { get { return activityistravel; } //IsTravel set { activityistravel = value; } //IsTravel } public byte ActivityIsF2F { get { return activityisf2f; } //IsF2F set { activityisf2f = value; } //IsF2F } public byte ActivityIsExpense { get { return activityisexpense; } //IsExpense set { activityisexpense = value; } //IsExpense } public string ActivityFundCode { get { return activityfundcode; } //FundCode set { activityfundcode = value; } //FundCode } public byte ActivityIsReminder { get { return activityisreminder; } //IsReminder set { activityisreminder = value; } //IsReminder } public Int16 ActivityRMDNoOfDays { get { return activityrmdnoofdays; } //RMDNoOfDays set { activityrmdnoofdays = value; } //RMDNoOfDays } public Int16 ActivityRMDNoOfHrs { get { return activityrmdnoofhrs; } //RMDNoOfHrs set { activityrmdnoofhrs = value; } //RMDNoOfHrs } public string ActivityRMDMode { get { return activityrmdmode; } //RMDMode set { activityrmdmode = value; } //RMDMode } public byte ActivityIsHour { get { return activityishour; } //IsHour set { activityishour = value; } //IsHour } public byte ActivityIsCharge { get { return activityischarge; } //IsCharge set { activityischarge = value; } //IsCharge } public double ActivityLaboutAmt { get { return activitylaboutamt; } //LaboutAmt set { activitylaboutamt = value; } //LaboutAmt } public double ActivityOHAmt { get { return activityohamt; } //OHAmt set { activityohamt = value; } //OHAmt } public string ActivityChargeTypeCode { get { return activitychargetypecode; } //ChargeTypeCode set { activitychargetypecode = value; } //ChargeTypeCode } public string ActivityCollAccCode { get { return activitycollacccode; } //CollAccCode set { activitycollacccode = value; } //CollAccCode } public string ActivityPaidAccCode { get { return activitypaidacccode; } //PaidAccCode set { activitypaidacccode = value; } //PaidAccCode } public string ActivityActivityRef { get { return activityactivityref; } //ActivityRef set { activityactivityref = value; } //ActivityRef } public string ActivityActCostType { get { return activityactcosttype; } //ActCostType set { activityactcosttype = value; } //ActCostType } public string ActivityTimeUOM { get { return activitytimeuom; } //TimeUOM set { activitytimeuom = value; } //TimeUOM } public string ActivityItemCode { get { return activityitemcode; } //ItemCode set { activityitemcode = value; } //ItemCode } #endregion #region Base public int ActivityCreatedById { get { return activitycreatedbyid; } //CreatedById set { activitycreatedbyid = value; } //CreatedById } public DateTime ActivityCreatedOn { get { return activitycreatedon; } //CreatedOn set { activitycreatedon = value; } //CreatedOn } public int ActivityModifiedById { get { return activitymodifiedbyid; } //ModifiedById set { activitymodifiedbyid = value; } //ModifiedById } public DateTime ActivityModifiedOn { get { return activitymodifiedon; } //ModifiedOn set { activitymodifiedon = value; } //ModifiedOn } private int sourcetype; private int tenantid; public int TenantId { get { return tenantid; } set { tenantid = value; } } public int SourceType { get { return sourcetype; } set { sourcetype = value;} } #endregion #region Standard public Int16 ActivitySortOrder { get { return activitysortorder; } //SortOrder set { activitysortorder = value; } //SortOrder } public byte ActivityStatus { get { return activitystatus; } //Status set { activitystatus = value; } //Status } public Int16 ActivityVersion { get { return activityversion; } //Version set { activityversion = value; } //Version } #endregion private int uomid = -1; private string uomcode; private string uomname; public int UOMId { get { return uomid; } //version set { uomid = value; } //version } public string UOMCode { get { return uomcode; } //version set { uomcode = value; } //version } public string UOMName { get { return uomname; } //version set { uomname = value; } //version } private byte activityrecoverytype = 1; private double activityrecoverypercentage; private byte activityisclaim = 1; private int expenseaccountid = -1; private string expenseaccountcode; private string expenseaccountname; private int billaccountid = -1; private string billaccountcode; private string billaccountname; private int itemid = -1; private string itemcode; private string itemname; private int skuid = -1; private string skucode; private string skuname; public byte ActivityRecoveryType { get { return activityrecoverytype; } //recoverytype set { activityrecoverytype = value; } //recoverytype } public double ActivityRecoveryPercentage { get { return activityrecoverypercentage; } //RecoveryPercentage set { activityrecoverypercentage = value; } //RecoveryPercentage } public byte ActivityIsClaim { get { return activityisclaim; } //isclaim set { activityisclaim = value; } //isclaim } public int ExpenseAccountId { get { return expenseaccountid; } //expenseaccount set { expenseaccountid = value; } //expenseaccount } public string ExpenseAccountCode { get { return expenseaccountcode; } //expenseaccount set { expenseaccountcode = value; } //expenseaccount } public string ExpenseAccountName { get { return expenseaccountname; } //expenseaccount set { expenseaccountname = value; } //expenseaccount } public int BillAccountId { get { return billaccountid; } //billaccount set { billaccountid = value; } //billaccount } public string BillAccountCode { get { return billaccountcode; } //billaccount set { billaccountcode = value; } //billaccount } public string BillAccountName { get { return billaccountname; } //billaccount set { billaccountname = value; } //billaccount } public int ItemId { get { return itemid; } //item set { itemid = value; } //item } public string ItemCode { get { return itemcode; } //item set { itemcode = value; } //item } public string ItemName { get { return itemname; } //item set { itemname = value; } //item } public int SKUId { get { return skuid; } //sku set { skuid = value; } //sku } public string SKUCode { get { return skucode; } //sku set { skucode = value; } //sku } public string SKUName { get { return skuname; } //sku set { skuname = value; } //sku } #endregion #region private int parametersetid = -1; private string parametersetcode; private string parametersetname; private int prechecklistid = -1; private int postchecklistid = -1; private int reviewchecklistid = -1; private int fortemplateid = -1; private string fortemplatecode; private string fortemplatename; private int bomid = -1; private string bomcode; private string bomname; private int borid = -1; public int ParameterSetId { get { return parametersetid; } set { parametersetid = value; } } public string ParameterSetCode { get { return parametersetcode; } set { parametersetcode = value; } } public string ParameterSetName { get { return parametersetname; } set { parametersetname = value; } } public int PreCheckListId { get { return prechecklistid; } set { prechecklistid = value; } } public int PostCheckListId { get { return postchecklistid; } set { postchecklistid = value; } } public int ReviewCheckListId { get { return reviewchecklistid; } set { reviewchecklistid = value; } } public int ForTemplateId { get { return fortemplateid; } set { fortemplateid = value; } } public string ForTemplateCode { get { return fortemplatecode; } set { fortemplatecode = value; } } public string ForTemplateName { get { return fortemplatename; } set { fortemplatename = value; } } public int BOMId { get { return bomid; } set { bomid = value; } } public string BOMCode { get { return bomcode; } set { bomcode = value; } } public string BOMName { get { return bomname; } set { bomname = value; } } public int BORId { get { return borid; } set { borid = value; } } #endregion #region private string activityapplicableresults; private string activityapplicableresultsvalue; private string activityapplicablestages; private string activityapplicablestagesvalue; private byte activityisscore; private byte activityisletter; public string ActivityApplicableResults { get { return activityapplicableresults; } set { activityapplicableresults = value; } } public string ActivityApplicableResultsValue { get { return activityapplicableresultsvalue; } set { activityapplicableresultsvalue = value; } } public string ActivityApplicableStages { get { return activityapplicablestages; } set { activityapplicablestages = value; } } public string ActivityApplicableStagesValue { get { return activityapplicablestagesvalue; } set { activityapplicablestagesvalue = value; } } public byte ActivityIsScore { get { return activityisscore; } set { activityisscore = value; } } public byte ActivityIsLetter { get { return activityisletter; } set { activityisletter = value; } } #endregion #region Fields Added by Parthiban #40899 on 04Jan2023 private byte activityiscityclass; private byte activityisgrade; private byte activityismode; private byte activityisvehicletype; private byte activityisdistance; public byte ActivityIsCityClass { get { return activityiscityclass; } set { activityiscityclass = value; } } public byte ActivityIsGrade { get { return activityisgrade; } set { activityisgrade = value; } } public byte ActivityIsMode { get { return activityismode; } set { activityismode = value; } } public byte ActivityIsVehicleType { get { return activityisvehicletype; } set { activityisvehicletype = value; } } public byte ActivityIsDistance { get { return activityisdistance; } set { activityisdistance = value; } } #endregion } }