"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toUserPackageOrderResponse = toUserPackageOrderResponse;
const user_package_model_1 = require("./user-package-model");
function toUserPackageOrderResponse(order, userPackage) {
    return {
        id: order.id,
        full_name: order.full_name,
        email: order.email,
        whatsapp_number: order.whatsapp_number,
        user_package_id: order.user_package_id,
        user_package: (0, user_package_model_1.toUserPackageResponse)(userPackage),
        created_at: order.created_at,
        updated_at: order.updated_at,
    };
}
