Bicycle/App/Repositories/BudgetRepository.php
Egor Isaev 69ce89a695 dev
2026-08-11 17:05:39 +03:00

26 lines
704 B
PHP

<?php
/**
* @package Bicycle
* @author Egor Isaev
* @description BudgetRepository.php
* @copyright (c) 11/08/2026
*/
namespace App\Repositories;
use System\Classes\Repository;
/**
* Репозиторий таблицы budgets (план по категории на месяц; факт считается на лету из transactions).
*/
class BudgetRepository extends Repository
{
/**
* @param string|null $connection Имя подключения (Database::instance($connection)); null — по умолчанию
*/
public function __construct(?string $connection = null)
{
parent::__construct('budgets', connection: $connection);
}
}