$transactions * @property-read int|null $transactions_count * @property-read \App\Models\User $user * @method static \Illuminate\Database\Eloquent\Builder|BaseModel company() * @method static \Illuminate\Database\Eloquent\Builder|BaseModel exclude($columns) * @method static \Database\Factories\BankIntegrationFactory factory($count = null, $state = []) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration filter(\App\Filters\QueryFilters $filters) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration newQuery() * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration query() * @method static \Illuminate\Database\Eloquent\Builder|BaseModel scope() * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereAccountId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereAutoSync($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBankAccountId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBankAccountName($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBankAccountNumber($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBankAccountStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereBankAccountType($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereCompanyId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereCurrency($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereDisabledUpstream($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereFromDate($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereIsDeleted($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereNickname($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereProviderId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereProviderName($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|BankIntegration withoutTrashed() * @mixin \Eloquent */ class BankIntegration extends BaseModel { use SoftDeletes; use Filterable; protected $fillable = [ 'bank_account_name', 'provider_name', 'bank_account_number', 'bank_account_status', 'bank_account_type', 'balance', 'currency', 'from_date', 'auto_sync', ]; protected $dates = [ ]; public function getEntityType() { return self::class; } public function company() { return $this->belongsTo(Company::class); } public function user() { return $this->belongsTo(User::class)->withTrashed(); } public function account() { return $this->belongsTo(Account::class); } public function transactions() { return $this->hasMany(BankTransaction::class)->withTrashed(); } }