mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
43 lines
561 B
PHP
43 lines
561 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Eloquent;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class Subscription.
|
|
*/
|
|
class Subscription extends EntityModel
|
|
{
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $timestamps = true;
|
|
|
|
use SoftDeletes;
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $dates = ['deleted_at'];
|
|
|
|
/**
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'event_id',
|
|
'target_url',
|
|
];
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getEntityType()
|
|
{
|
|
return ENTITY_SUBSCRIPTION;
|
|
}
|
|
|
|
|
|
}
|