|ProviderPaymentMethod newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod query() * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereAccount($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereAccountType($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereAgency($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereBankAccountType($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereDigit($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod wherePixKey($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereProviderId($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod withTrashed(bool $withTrashed = true) * @method static \Illuminate\Database\Eloquent\Builder|ProviderPaymentMethod withoutTrashed() * * @mixin \Eloquent */ class ProviderPaymentMethod extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'provider_id', 'account_type', 'pix_key', 'bank_account_type', 'agency', 'account', 'digit', ]; protected $casts = [ 'account_type' => AccountTypeEnum::class, 'bank_account_type' => BankAccountTypeEnum::class, ]; public function provider(): BelongsTo { return $this->belongsTo(Provider::class); } }