for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Stripe\Models;
use App\Containers\User\Models\User;
use App\Ship\Parents\Models\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class StripeAccount.
*
* @author Mahmoud Zalt <[email protected]>
*/
class StripeAccount extends Model
{
use SoftDeletes;
* The attributes that are mass assignable.
* @var array
protected $fillable = [
'customer_id',
'card_id',
'card_funding',
'card_last_digits',
'card_fingerprint',
'user_id',
];
* The dates attributes.
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
* The attributes excluded from the model's JSON form.
protected $hidden = [
* StripeAccount relationship with User
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
public function user()
return $this->belongsTo(User::class);
}