"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "CameraStreamService", {
    enumerable: true,
    get: function() {
        return CameraStreamService;
    }
});
const _baseservice = require("./base.service");
const _entities = require("../../entities");
const _camerastreamdto = require("../interfaces/camera-stream.dto");
class CameraStreamService extends (0, _baseservice.BaseService)(_entities.CameraStream, _camerastreamdto.CameraStreamDto, _camerastreamdto.CreateCameraStreamDto) {
    toDto(entity) {
        return {
            id: entity.id,
            streamURL: entity.streamURL,
            name: entity.name,
            printerId: entity.printerId,
            aspectRatio: entity.aspectRatio,
            rotationClockwise: entity.rotationClockwise,
            flipHorizontal: entity.flipHorizontal,
            flipVertical: entity.flipVertical
        };
    }
}

//# sourceMappingURL=camera-stream.service.js.map