<commit_before><?php

namespace Picqer\Financials\Moneybird\Entities;

use Picqer\Financials\Moneybird\Actions\Removable;
use Picqer\Financials\Moneybird\Actions\Storable;
use Picqer\Financials\Moneybird\Model;

/**
 * Class FinancialStatement.
 */
class FinancialStatement extends Model
{
    use Storable, Removable;

    /**
     * @var array
     */
    protected $fillable = [
        'financial_account_id',
        'reference',
        'official_date',
        'official_balance',
        'importer_service',
        'financial_mutations',
        'update_journal_entries',
    ];

    /**
     * @var string
     */
    protected $endpoint = 'financial_statements';

    /**
     * @var string
     */
    protected $namespace = 'financial_statement';

    /**
     * @var array
     */
    protected $multipleNestedEntities = [
        'financial_mutations' => [
            'entity' => FinancialMutation::class,
            'type' => self::NESTING_TYPE_ARRAY_OF_OBJECTS,
        ],<commit_msg>added 'id' to FinancialStatement entity<commit_after><?php

namespace Picqer\Financials\Moneybird\Entities;

use Picqer\Financials\Moneybird\Actions\Removable;
use Picqer\Financials\Moneybird\Actions\Storable;
use Picqer\Financials\Moneybird\Model;

/**
 * Class FinancialStatement.
 */
class FinancialStatement extends Model
{
    use Storable, Removable;

    /**
     * @var array
     */
    protected $fillable = [
        'id',
        'financial_account_id',
        'reference',
        'official_date',
        'official_balance',
        'importer_service',
        'financial_mutations',
        'update_journal_entries',
    ];

    /**
     * @var string
     */
    protected $endpoint = 'financial_statements';

    /**
     * @var string
     */
    protected $namespace = 'financial_statement';

    /**
     * @var array
     */
    protected $multipleNestedEntities = [
        'financial_mutations' => [
            'entity' => FinancialMutation::class,
            'type' => self::NESTING_TYPE_ARRAY_OF_OBJECTS,
        ],
{'fraction_non_alphanumeric': 0.12072336265884653, 'fraction_numerical': 0.0, 'mean_word_length': 2.5051369863013697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3632480', 'n_tokens_mistral': 639, 'n_tokens_neox': 622, 'n_words': 101}