import { Router } from 'express';
import * as paintingSchemeController from '../controllers/paintingSchemeController.js';

const router = Router();

router.get('/', paintingSchemeController.getAllPaintingSchemes);
router.get('/project/:projectId', paintingSchemeController.getPaintingSchemesByProject);
router.post('/', paintingSchemeController.createPaintingScheme);
router.put('/:id', paintingSchemeController.updatePaintingScheme);
router.delete('/:id', paintingSchemeController.deletePaintingScheme);

export default router;
