예제 #1
0
        public override BLL_Deal ToBLLModel()
        {
            BLL_Deal bLL_Deal = new BLL_Deal()
            {
                Dealnum              = DealNumber,
                Dealname             = DealName,
                Status               = StatusCode,
                StatusName           = Status,
                Contractnum          = ContractNumber,
                Inceptdate           = InceptionDate.ToDate(),
                Targetdt             = TargetDate.ToUniversalDate(),
                ModelPriority        = Priority,
                Submissiondate       = SubmittedDate.ToDate(),
                Uw1                  = PrimaryUnderwriterCode,
                Uw1Name              = PrimaryUnderwriterName,
                Uw2                  = SecondaryUnderwriterCode,
                Uw2Name              = SecondaryUnderwriterName,
                Ta                   = TechnicalAssistantCode,
                TaName               = TechnicalAssistantName,
                Modeller             = ModellerCode,
                ModellerName         = ModellerName,
                Act1                 = ActuaryCode,
                Act1Name             = ActuaryName,
                Expirydate           = ExpiryDate.ToDate(),
                Broker               = BrokerCode,
                BrokerName           = BrokerName,
                BrokerContact        = BrokerContactCode,
                BrokerContactName    = BrokerContactName,
                Cedant               = CedantCode,
                CedantName           = CedantName,
                Continuous           = Continuous,
                Renewal              = Renewal,
                Dealtype             = Dealtype,
                DealtypeName         = DealtypeName,
                Coveragetype         = Coveragetype,
                CoveragetypeName     = CoveragetypeName,
                Policybasis          = Policybasis,
                PolicybasisName      = PolicybasisName,
                Currency             = Currency,
                CurrencyName         = CurrencyName,
                Domicile             = Domicile,
                DomicileName         = DomicileName,
                Region               = Region,
                RegionName           = RegionName,
                CedentLocation       = CedentLocation,
                CedentLocationname   = CedentLocationname,
                BrokerLocation       = BrokerLocation,
                BrokerLocationname   = BrokerLocationname,
                PaperName            = PaperName,
                ExpiryEod            = ExpiryEod,
                Exposuretype         = Exposuretype,
                CedantGroupCode      = CedantGroupCode,
                CedantGroupName      = CedantGroupName,
                BrokerGroupCode      = BrokerGroupCode,
                BrokerGroupName      = BrokerGroupName,
                RenewalName          = RenewalName,
                ChkPreBindProcessing = ChkPreBindProcessing,
                ChkUWCompliance      = ChkUWCompliance,
                ChkModelling         = ChkModelling,
                decreason            = decreason
            };

            return(bLL_Deal);
        }