"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPeriodResponse = toPeriodResponse;
function toPeriodResponse(period) {
    var _a;
    return {
        id: period.id,
        category: (_a = period.category) !== null && _a !== void 0 ? _a : '',
        start_date: period.start_date,
        end_date: period.end_date,
        created_at: period.created_at,
        updated_at: period.updated_at,
    };
}
