public static function fromMap()

in dingtalk/php/src/alitrip_1_0/Models/BillSettementFlightResponseBody/module/dataList.php [666:884]


    public static function fromMap($map = [])
    {
        $model = new self();
        if (isset($map['advanceDay'])) {
            $model->advanceDay = $map['advanceDay'];
        }
        if (isset($map['airlineCorpCode'])) {
            $model->airlineCorpCode = $map['airlineCorpCode'];
        }
        if (isset($map['airlineCorpName'])) {
            $model->airlineCorpName = $map['airlineCorpName'];
        }
        if (isset($map['alipayTradeNo'])) {
            $model->alipayTradeNo = $map['alipayTradeNo'];
        }
        if (isset($map['applyId'])) {
            $model->applyId = $map['applyId'];
        }
        if (isset($map['arrAirportCode'])) {
            $model->arrAirportCode = $map['arrAirportCode'];
        }
        if (isset($map['arrCity'])) {
            $model->arrCity = $map['arrCity'];
        }
        if (isset($map['arrDate'])) {
            $model->arrDate = $map['arrDate'];
        }
        if (isset($map['arrStation'])) {
            $model->arrStation = $map['arrStation'];
        }
        if (isset($map['arrTime'])) {
            $model->arrTime = $map['arrTime'];
        }
        if (isset($map['billRecordTime'])) {
            $model->billRecordTime = $map['billRecordTime'];
        }
        if (isset($map['bookTime'])) {
            $model->bookTime = $map['bookTime'];
        }
        if (isset($map['bookerId'])) {
            $model->bookerId = $map['bookerId'];
        }
        if (isset($map['bookerJobNo'])) {
            $model->bookerJobNo = $map['bookerJobNo'];
        }
        if (isset($map['bookerName'])) {
            $model->bookerName = $map['bookerName'];
        }
        if (isset($map['btripCouponFee'])) {
            $model->btripCouponFee = $map['btripCouponFee'];
        }
        if (isset($map['buildFee'])) {
            $model->buildFee = $map['buildFee'];
        }
        if (isset($map['cabin'])) {
            $model->cabin = $map['cabin'];
        }
        if (isset($map['cabinClass'])) {
            $model->cabinClass = $map['cabinClass'];
        }
        if (isset($map['capitalDirection'])) {
            $model->capitalDirection = $map['capitalDirection'];
        }
        if (isset($map['cascadeDepartment'])) {
            $model->cascadeDepartment = $map['cascadeDepartment'];
        }
        if (isset($map['changeFee'])) {
            $model->changeFee = $map['changeFee'];
        }
        if (isset($map['corpPayOrderFee'])) {
            $model->corpPayOrderFee = $map['corpPayOrderFee'];
        }
        if (isset($map['costCenter'])) {
            $model->costCenter = $map['costCenter'];
        }
        if (isset($map['costCenterNumber'])) {
            $model->costCenterNumber = $map['costCenterNumber'];
        }
        if (isset($map['coupon'])) {
            $model->coupon = $map['coupon'];
        }
        if (isset($map['depAirportCode'])) {
            $model->depAirportCode = $map['depAirportCode'];
        }
        if (isset($map['department'])) {
            $model->department = $map['department'];
        }
        if (isset($map['departmentId'])) {
            $model->departmentId = $map['departmentId'];
        }
        if (isset($map['deptCity'])) {
            $model->deptCity = $map['deptCity'];
        }
        if (isset($map['deptDate'])) {
            $model->deptDate = $map['deptDate'];
        }
        if (isset($map['deptStation'])) {
            $model->deptStation = $map['deptStation'];
        }
        if (isset($map['deptTime'])) {
            $model->deptTime = $map['deptTime'];
        }
        if (isset($map['discount'])) {
            $model->discount = $map['discount'];
        }
        if (isset($map['feeType'])) {
            $model->feeType = $map['feeType'];
        }
        if (isset($map['flightNo'])) {
            $model->flightNo = $map['flightNo'];
        }
        if (isset($map['index'])) {
            $model->index = $map['index'];
        }
        if (isset($map['insuranceFee'])) {
            $model->insuranceFee = $map['insuranceFee'];
        }
        if (isset($map['invoiceTitle'])) {
            $model->invoiceTitle = $map['invoiceTitle'];
        }
        if (isset($map['itineraryNum'])) {
            $model->itineraryNum = $map['itineraryNum'];
        }
        if (isset($map['itineraryPrice'])) {
            $model->itineraryPrice = $map['itineraryPrice'];
        }
        if (isset($map['mostDifferenceDeptTime'])) {
            $model->mostDifferenceDeptTime = $map['mostDifferenceDeptTime'];
        }
        if (isset($map['mostDifferenceDiscount'])) {
            $model->mostDifferenceDiscount = $map['mostDifferenceDiscount'];
        }
        if (isset($map['mostDifferenceFlightNo'])) {
            $model->mostDifferenceFlightNo = $map['mostDifferenceFlightNo'];
        }
        if (isset($map['mostDifferencePrice'])) {
            $model->mostDifferencePrice = $map['mostDifferencePrice'];
        }
        if (isset($map['mostDifferenceReason'])) {
            $model->mostDifferenceReason = $map['mostDifferenceReason'];
        }
        if (isset($map['mostPrice'])) {
            $model->mostPrice = $map['mostPrice'];
        }
        if (isset($map['negotiationCouponFee'])) {
            $model->negotiationCouponFee = $map['negotiationCouponFee'];
        }
        if (isset($map['oilFee'])) {
            $model->oilFee = $map['oilFee'];
        }
        if (isset($map['orderId'])) {
            $model->orderId = $map['orderId'];
        }
        if (isset($map['overApplyId'])) {
            $model->overApplyId = $map['overApplyId'];
        }
        if (isset($map['primaryId'])) {
            $model->primaryId = $map['primaryId'];
        }
        if (isset($map['projectCode'])) {
            $model->projectCode = $map['projectCode'];
        }
        if (isset($map['projectName'])) {
            $model->projectName = $map['projectName'];
        }
        if (isset($map['refundFee'])) {
            $model->refundFee = $map['refundFee'];
        }
        if (isset($map['refundUpgradeCost'])) {
            $model->refundUpgradeCost = $map['refundUpgradeCost'];
        }
        if (isset($map['remark'])) {
            $model->remark = $map['remark'];
        }
        if (isset($map['repeatRefund'])) {
            $model->repeatRefund = $map['repeatRefund'];
        }
        if (isset($map['sealPrice'])) {
            $model->sealPrice = $map['sealPrice'];
        }
        if (isset($map['serviceFee'])) {
            $model->serviceFee = $map['serviceFee'];
        }
        if (isset($map['settlementFee'])) {
            $model->settlementFee = $map['settlementFee'];
        }
        if (isset($map['settlementGrantFee'])) {
            $model->settlementGrantFee = $map['settlementGrantFee'];
        }
        if (isset($map['settlementTime'])) {
            $model->settlementTime = $map['settlementTime'];
        }
        if (isset($map['settlementType'])) {
            $model->settlementType = $map['settlementType'];
        }
        if (isset($map['status'])) {
            $model->status = $map['status'];
        }
        if (isset($map['ticketId'])) {
            $model->ticketId = $map['ticketId'];
        }
        if (isset($map['travelerId'])) {
            $model->travelerId = $map['travelerId'];
        }
        if (isset($map['travelerJobNo'])) {
            $model->travelerJobNo = $map['travelerJobNo'];
        }
        if (isset($map['travelerName'])) {
            $model->travelerName = $map['travelerName'];
        }
        if (isset($map['upgradeCost'])) {
            $model->upgradeCost = $map['upgradeCost'];
        }
        if (isset($map['voucherType'])) {
            $model->voucherType = $map['voucherType'];
        }

        return $model;
    }