コード例 #1
0
ファイル: PlanData.cs プロジェクト: FRSummit/Reporting-Module
        public PlanData(MemberPlanData memberMemberPlanData                      = null,
                        MemberPlanData associateMemberPlanData                   = null,
                        MemberPlanData preliminaryMemberPlanData                 = null,
                        MemberPlanData supporterMemberPlanData                   = null,
                        MeetingProgramPlanData workerMeetingProgramPlanData      = null,
                        MeetingProgramPlanData dawahMeetingProgramPlanData       = null,
                        MeetingProgramPlanData stateLeaderMeetingProgramPlanData = null,
                        MeetingProgramPlanData stateOutingMeetingProgramPlanData = null,
                        MeetingProgramPlanData iftarMeetingProgramPlanData       = null,
                        MeetingProgramPlanData learningMeetingProgramPlanData    = null,
                        MeetingProgramPlanData socialDawahMeetingProgramPlanData = null,
                        MeetingProgramPlanData dawahGroupMeetingProgramPlanData  = null,
                        MeetingProgramPlanData nextGMeetingProgramPlanData       = null,

                        MeetingProgramPlanData cmsMeetingProgramPlanData         = null,
                        MeetingProgramPlanData smMeetingProgramPlanData          = null,
                        MeetingProgramPlanData memberMeetingProgramPlanData      = null,
                        MeetingProgramPlanData tafsirMeetingProgramPlanData      = null,
                        MeetingProgramPlanData unitMeetingProgramPlanData        = null,
                        MeetingProgramPlanData familyVisitMeetingProgramPlanData = null,
                        MeetingProgramPlanData eidReunionMeetingProgramPlanData  = null,
                        MeetingProgramPlanData bbqMeetingProgramPlanData         = null,
                        MeetingProgramPlanData gatheringMeetingProgramPlanData   = null,
                        MeetingProgramPlanData otherMeetingProgramPlanData       = null,

                        FinancePlanData baitulMalFinancePlanData                = null,
                        FinancePlanData aDayMasjidProjectFinancePlanData        = null,
                        FinancePlanData masjidTableBankFinancePlanData          = null,
                        SocialWelfarePlanData qardeHasanaSocialWelfarePlanData  = null,
                        SocialWelfarePlanData patientVisitSocialWelfarePlanData = null,
                        SocialWelfarePlanData socialVisitSocialWelfarePlanData  = null,
                        SocialWelfarePlanData transportSocialWelfarePlanData    = null,
                        SocialWelfarePlanData shiftingSocialWelfarePlanData     = null,
                        SocialWelfarePlanData shoppingSocialWelfarePlanData     = null,

                        SocialWelfarePlanData foodDistributionSocialWelfarePlanData = null,
                        SocialWelfarePlanData cleanUpAustraliaSocialWelfarePlanData = null,
                        SocialWelfarePlanData otherSocialWelfarePlanData            = null,

                        MaterialPlanData bookSaleMaterialPlanData         = null,
                        MaterialPlanData bookDistributionMaterialPlanData = null,
                        LibraryStockPlanData bookLibraryStockPlanData     = null,

                        MaterialPlanData otherSaleMaterialPlanData         = null,
                        MaterialPlanData otherDistributionMaterialPlanData = null,
                        LibraryStockPlanData otherLibraryStockPlanData     = null,

                        MaterialPlanData vhsSaleMaterialPlanData         = null,
                        MaterialPlanData vhsDistributionMaterialPlanData = null,
                        LibraryStockPlanData vhsLibraryStockPlanData     = null,

                        MaterialPlanData emailDistributionMaterialPlanData       = null,
                        MaterialPlanData ipdcLeafletDistributionMaterialPlanData = null,


                        TeachingLearningProgramPlanData groupStudyTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData studyCircleTeachingLearningProgramPlanData                   = null,
                        TeachingLearningProgramPlanData practiceDarsTeachingLearningProgramPlanData                  = null,
                        TeachingLearningProgramPlanData stateLearningCampTeachingLearningProgramPlanData             = null,
                        TeachingLearningProgramPlanData quranStudyTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData quranClassTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData memorizingAyatTeachingLearningProgramPlanData                = null,
                        TeachingLearningProgramPlanData stateLearningSessionTeachingLearningProgramPlanData          = null,
                        TeachingLearningProgramPlanData stateQiyamulLailTeachingLearningProgramPlanData              = null,
                        TeachingLearningProgramPlanData studyCircleForAssociateMemberTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData hadithTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData weekendIslamicSchoolTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData memorizingHadithTeachingLearningProgramPlanData     = null,
                        TeachingLearningProgramPlanData memorizingDoaTeachingLearningProgramPlanData        = null,
                        TeachingLearningProgramPlanData otherTeachingLearningProgramPlanData = null)
        {
            AssociateMemberPlanData           = associateMemberPlanData ?? MemberData.Default();
            PreliminaryMemberPlanData         = preliminaryMemberPlanData ?? MemberData.Default();
            SupporterMemberPlanData           = supporterMemberPlanData ?? MemberData.Default();
            WorkerMeetingProgramPlanData      = workerMeetingProgramPlanData ?? MeetingProgramData.Default();
            DawahMeetingProgramPlanData       = dawahMeetingProgramPlanData ?? MeetingProgramData.Default();
            StateLeaderMeetingProgramPlanData = stateLeaderMeetingProgramPlanData ?? MeetingProgramData.Default();
            StateOutingMeetingProgramPlanData = stateOutingMeetingProgramPlanData ?? MeetingProgramData.Default();
            IftarMeetingProgramPlanData       = iftarMeetingProgramPlanData ?? MeetingProgramData.Default();
            LearningMeetingProgramPlanData    = learningMeetingProgramPlanData ?? MeetingProgramData.Default();
            SocialDawahMeetingProgramPlanData = socialDawahMeetingProgramPlanData ?? MeetingProgramData.Default();
            DawahGroupMeetingProgramPlanData  = dawahGroupMeetingProgramPlanData ?? MeetingProgramData.Default();
            NextGMeetingProgramPlanData       = nextGMeetingProgramPlanData ?? MeetingProgramData.Default();

            CmsMeetingProgramPlanData         = cmsMeetingProgramPlanData ?? MeetingProgramData.Default();
            SmMeetingProgramPlanData          = smMeetingProgramPlanData ?? MeetingProgramData.Default();
            MemberMeetingProgramPlanData      = memberMeetingProgramPlanData ?? MeetingProgramData.Default();
            TafsirMeetingProgramPlanData      = tafsirMeetingProgramPlanData ?? MeetingProgramData.Default();
            UnitMeetingProgramPlanData        = unitMeetingProgramPlanData ?? MeetingProgramData.Default();
            FamilyVisitMeetingProgramPlanData = familyVisitMeetingProgramPlanData ?? MeetingProgramData.Default();
            EidReunionMeetingProgramPlanData  = eidReunionMeetingProgramPlanData ?? MeetingProgramData.Default();
            BbqMeetingProgramPlanData         = bbqMeetingProgramPlanData ?? MeetingProgramData.Default();
            GatheringMeetingProgramPlanData   = gatheringMeetingProgramPlanData ?? MeetingProgramData.Default();
            OtherMeetingProgramPlanData       = otherMeetingProgramPlanData ?? MeetingProgramData.Default();


            MemberMemberPlanData = memberMemberPlanData ?? MemberData.Default();

            BaitulMalFinancePlanData         = baitulMalFinancePlanData ?? FinanceData.Default();
            ADayMasjidProjectFinancePlanData = aDayMasjidProjectFinancePlanData ?? FinanceData.Default();
            MasjidTableBankFinancePlanData   = masjidTableBankFinancePlanData ?? FinanceData.Default();

            QardeHasanaSocialWelfarePlanData      = qardeHasanaSocialWelfarePlanData ?? SocialWelfareData.Default();
            PatientVisitSocialWelfarePlanData     = patientVisitSocialWelfarePlanData ?? SocialWelfareData.Default();
            SocialVisitSocialWelfarePlanData      = socialVisitSocialWelfarePlanData ?? SocialWelfareData.Default();
            TransportSocialWelfarePlanData        = transportSocialWelfarePlanData ?? SocialWelfareData.Default();
            ShiftingSocialWelfarePlanData         = shiftingSocialWelfarePlanData ?? SocialWelfareData.Default();
            ShoppingSocialWelfarePlanData         = shoppingSocialWelfarePlanData ?? SocialWelfareData.Default();
            FoodDistributionSocialWelfarePlanData = foodDistributionSocialWelfarePlanData ?? SocialWelfareData.Default();
            CleanUpAustraliaSocialWelfarePlanData = cleanUpAustraliaSocialWelfarePlanData ?? SocialWelfareData.Default();
            OtherSocialWelfarePlanData            = otherSocialWelfarePlanData ?? SocialWelfareData.Default();

            BookSaleMaterialPlanData         = bookSaleMaterialPlanData ?? MaterialData.Default();
            BookDistributionMaterialPlanData = bookDistributionMaterialPlanData ?? MaterialData.Default();
            BookLibraryStockPlanData         = bookLibraryStockPlanData ?? LibraryStockData.Default();

            OtherSaleMaterialPlanData         = otherSaleMaterialPlanData ?? MaterialData.Default();
            OtherDistributionMaterialPlanData = otherDistributionMaterialPlanData ?? MaterialData.Default();
            OtherLibraryStockPlanData         = otherLibraryStockPlanData ?? LibraryStockData.Default();

            VhsSaleMaterialPlanData                 = vhsSaleMaterialPlanData ?? MaterialData.Default();
            VhsDistributionMaterialPlanData         = vhsDistributionMaterialPlanData ?? MaterialData.Default();
            VhsLibraryStockPlanData                 = vhsLibraryStockPlanData ?? LibraryStockData.Default();
            EmailDistributionMaterialPlanData       = emailDistributionMaterialPlanData ?? MaterialData.Default();
            IpdcLeafletDistributionMaterialPlanData = ipdcLeafletDistributionMaterialPlanData ?? MaterialData.Default();



            GroupStudyTeachingLearningProgramPlanData           = groupStudyTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StudyCircleTeachingLearningProgramPlanData          = studyCircleTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            PracticeDarsTeachingLearningProgramPlanData         = practiceDarsTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateLearningCampTeachingLearningProgramPlanData    = stateLearningCampTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            QuranStudyTeachingLearningProgramPlanData           = quranStudyTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            QuranClassTeachingLearningProgramPlanData           = quranClassTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingAyatTeachingLearningProgramPlanData       = memorizingAyatTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateLearningSessionTeachingLearningProgramPlanData = stateLearningSessionTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateQiyamulLailTeachingLearningProgramPlanData     = stateQiyamulLailTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();

            StudyCircleForAssociateMemberTeachingLearningProgramPlanData = studyCircleForAssociateMemberTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            HadithTeachingLearningProgramPlanData = hadithTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            WeekendIslamicSchoolTeachingLearningProgramPlanData = weekendIslamicSchoolTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingHadithTeachingLearningProgramPlanData     = memorizingHadithTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingDoaTeachingLearningProgramPlanData        = memorizingDoaTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            OtherTeachingLearningProgramPlanData = otherTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
        }
コード例 #2
0
 public static MeetingProgramData ToMeetingProgramData(this MeetingProgramData data, MeetingProgramPlanData planData)
 {
     return(new MeetingProgramData(planData.Target,
                                   planData.DateAndAction,
                                   data.Actual,
                                   data.AverageAttendance,
                                   data.Comment));
 }