mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 08:00:19 +00:00
Code optimalisations.
This commit is contained in:
@@ -50,6 +50,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property int $skip
|
||||
* @property bool $automatch
|
||||
* @property User $user
|
||||
* @property string $match
|
||||
*/
|
||||
class Bill extends Model
|
||||
{
|
||||
|
||||
@@ -35,6 +35,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property bool $active
|
||||
* @property int $user_id
|
||||
* @property-read string $email
|
||||
*/
|
||||
class Budget extends Model
|
||||
{
|
||||
|
||||
@@ -40,6 +40,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property string $file_type
|
||||
* @property int $tag_id
|
||||
* @property Tag $tag
|
||||
* @property array $errors
|
||||
*/
|
||||
class ImportJob extends Model
|
||||
{
|
||||
|
||||
@@ -27,7 +27,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
/**
|
||||
* Class PiggyBankEvent.
|
||||
*
|
||||
* @property $piggyBank
|
||||
* @property PiggyBank $piggyBank
|
||||
* @property int $transaction_journal_id
|
||||
* @property int $piggy_bank_id
|
||||
*/
|
||||
class PiggyBankEvent extends Model
|
||||
{
|
||||
|
||||
@@ -32,52 +32,57 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* Class Transaction.
|
||||
*
|
||||
* @property int $journal_id
|
||||
* @property Carbon $date
|
||||
* @property string $transaction_description
|
||||
* @property string $transaction_amount
|
||||
* @property string $transaction_foreign_amount
|
||||
* @property string $transaction_type_type
|
||||
* @property string $foreign_currency_symbol
|
||||
* @property int $foreign_currency_dp
|
||||
* @property int $account_id
|
||||
* @property string $account_name
|
||||
* @property string $account_iban
|
||||
* @property string $account_number
|
||||
* @property string $account_bic
|
||||
* @property string $account_type
|
||||
* @property string $account_currency_code
|
||||
* @property int $opposing_account_id
|
||||
* @property string $opposing_account_name
|
||||
* @property string $opposing_account_iban
|
||||
* @property string $opposing_account_number
|
||||
* @property string $opposing_account_bic
|
||||
* @property string $opposing_account_type
|
||||
* @property string $opposing_currency_code
|
||||
* @property int $transaction_budget_id
|
||||
* @property string $transaction_budget_name
|
||||
* @property int $transaction_journal_budget_id
|
||||
* @property string $transaction_journal_budget_name
|
||||
* @property int $transaction_category_id
|
||||
* @property string $transaction_category_name
|
||||
* @property int $transaction_journal_category_id
|
||||
* @property string $transaction_journal_category_name
|
||||
* @property int $bill_id
|
||||
* @property string $bill_name
|
||||
* @property string $notes
|
||||
* @property string $tags
|
||||
* @property string $transaction_currency_symbol
|
||||
* @property int $transaction_currency_dp
|
||||
* @property string $transaction_currency_code
|
||||
* @property string $description
|
||||
* @property bool $is_split
|
||||
* @property int $attachmentCount
|
||||
* @property int $transaction_currency_id
|
||||
* @property int $foreign_currency_id
|
||||
* @property string $amount
|
||||
* @property string $foreign_amount
|
||||
* @property TransactionJournal $transactionJournal
|
||||
* @property Account $account
|
||||
* @property int $journal_id
|
||||
* @property Carbon $date
|
||||
* @property string $transaction_description
|
||||
* @property string $transaction_amount
|
||||
* @property string $transaction_foreign_amount
|
||||
* @property string $transaction_type_type
|
||||
* @property string $foreign_currency_symbol
|
||||
* @property int $foreign_currency_dp
|
||||
* @property int $account_id
|
||||
* @property string $account_name
|
||||
* @property string $account_iban
|
||||
* @property string $account_number
|
||||
* @property string $account_bic
|
||||
* @property string $account_type
|
||||
* @property string $account_currency_code
|
||||
* @property int $opposing_account_id
|
||||
* @property string $opposing_account_name
|
||||
* @property string $opposing_account_iban
|
||||
* @property string $opposing_account_number
|
||||
* @property string $opposing_account_bic
|
||||
* @property string $opposing_account_type
|
||||
* @property string $opposing_currency_code
|
||||
* @property int $transaction_budget_id
|
||||
* @property string $transaction_budget_name
|
||||
* @property int $transaction_journal_budget_id
|
||||
* @property string $transaction_journal_budget_name
|
||||
* @property int $transaction_category_id
|
||||
* @property string $transaction_category_name
|
||||
* @property int $transaction_journal_category_id
|
||||
* @property string $transaction_journal_category_name
|
||||
* @property int $bill_id
|
||||
* @property string $bill_name
|
||||
* @property string $notes
|
||||
* @property string $tags
|
||||
* @property string $transaction_currency_symbol
|
||||
* @property int $transaction_currency_dp
|
||||
* @property string $transaction_currency_code
|
||||
* @property string $description
|
||||
* @property bool $is_split
|
||||
* @property int $attachmentCount
|
||||
* @property int $transaction_currency_id
|
||||
* @property int $foreign_currency_id
|
||||
* @property string $amount
|
||||
* @property string $foreign_amount
|
||||
* @property TransactionJournal $transactionJournal
|
||||
* @property Account $account
|
||||
* @property int $identifier
|
||||
* @property int $id
|
||||
* @property TransactionCurrency $transactionCurrency
|
||||
* @property int $transaction_journal_id
|
||||
* @property TransactionCurrency $foreignCurrency
|
||||
*/
|
||||
class Transaction extends Model
|
||||
{
|
||||
|
||||
@@ -40,12 +40,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* Class TransactionJournal.
|
||||
*
|
||||
* @property User $user
|
||||
* @property int $bill_id
|
||||
* @property Collection $categories
|
||||
* @property bool $completed
|
||||
* @property string $description
|
||||
* @property string $transaction_type_id
|
||||
* @property User $user
|
||||
* @property int $bill_id
|
||||
* @property Collection $categories
|
||||
* @property bool $completed
|
||||
* @property string $description
|
||||
* @property int $transaction_type_id
|
||||
* @property int transaction_currency_id
|
||||
* @property TransactionCurrency $transactionCurrency
|
||||
*/
|
||||
class TransactionJournal extends Model
|
||||
{
|
||||
|
||||
@@ -29,8 +29,11 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
/**
|
||||
* Class TransactionJournalMeta.
|
||||
*
|
||||
* @property string $name
|
||||
* @property int $transaction_journal_id
|
||||
* @property string $name
|
||||
* @property int $transaction_journal_id
|
||||
* @property TransactionJournal $transactionJournal
|
||||
* @property string $data
|
||||
* @property int $id
|
||||
*/
|
||||
class TransactionJournalMeta extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user