freescout/freescout-dist/app/Sendmail.php

35 lines
491 B
PHP
Raw Normal View History

2023-12-22 19:40:32 +00:00
<?php
/**
* Outgoing emails.
*/
namespace App;
use Illuminate\Database\Eloquent\Model;
class Sendmail extends Model
{
/**
* The attributes that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id'];
/**
* Customer.
*/
public function customer()
{
return $this->belongsTo('App\Customer');
}
/**
* User.
*/
public function user()
{
return $this->belongsTo('App\User');
}
}