"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toUserPackageOptionResponse = toUserPackageOptionResponse;
function toUserPackageOptionResponse(data) {
    return {
        id: data.id,
        package_option_id: data.package_type_id,
        package_option_name: data.packageType.name,
        name: data.name,
        price: Number(data.price),
        order_number: data.order_number,
        created_at: data.created_at,
        updated_at: data.updated_at,
    };
}
