1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/app/models/Invitation.php

21 lines
389 B
PHP
Raw Normal View History

2013-11-28 17:40:13 +01:00
<?php
2013-12-04 17:20:14 +01:00
class Invitation extends EntityModel
2013-11-28 17:40:13 +01:00
{
protected $hidden = array('id', 'account_id', 'user_id', 'contact_id', 'created_at', 'updated_at', 'deleted_at', 'viewed_date');
2013-12-04 17:20:14 +01:00
2013-11-28 17:40:13 +01:00
public function invoice()
{
return $this->belongsTo('Invoice');
}
2013-12-02 13:22:29 +01:00
public function contact()
{
return $this->belongsTo('Contact');
}
public function user()
{
return $this->belongsTo('User');
}
2013-12-30 21:17:45 +01:00
}