1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 11:52:29 +01:00
freescout/app/Sendmail.php

35 lines
491 B
PHP
Raw Normal View History

2018-08-08 09:52:53 +02:00
<?php
/**
* Outgoing emails.
*/
2018-08-08 09:56:03 +02:00
2018-08-08 09:52:53 +02:00
namespace App;
use Illuminate\Database\Eloquent\Model;
class Sendmail extends Model
{
/**
* The attributes that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id'];
/**
* Customer.
*/
2018-11-09 12:52:14 +01:00
public function customer()
2018-08-08 09:52:53 +02:00
{
return $this->belongsTo('App\Customer');
}
/**
* User.
*/
public function user()
{
return $this->belongsTo('App\User');
}
}