Cleanup
This commit is contained in:
@ -6,21 +6,20 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PaymentMethods extends Model
|
||||
{
|
||||
protected $table = 'payment_methods';
|
||||
protected $fillable = [
|
||||
protected $table = 'payment_methods';
|
||||
protected $fillable = [
|
||||
'pm_name',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function checkout()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Checkout', 'payment_method', 'pm_id');
|
||||
}
|
||||
];
|
||||
|
||||
public function checkout()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Checkout', 'payment_method', 'pm_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user