| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Subscription extends Base |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Indicates if the model should be timestamped. |
||
| 9 | * |
||
| 10 | * @var bool |
||
| 11 | */ |
||
| 12 | public $timestamps = false; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The attributes that are mass assignable. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $fillable = [ |
||
| 20 | 'title', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | public function pool() |
||
| 24 | { |
||
| 25 | return $this->belongsTo(Pool::class); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function member() |
||
| 29 | { |
||
| 30 | return $this->belongsTo(Member::class); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function payable() |
||
| 34 | { |
||
| 35 | return $this->hasOne(Payable::class); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function receivables() |
||
| 41 | } |
||
| 42 | } |
||
| 43 |