mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
21 lines
328 B
PHP
21 lines
328 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class AttendeeMessage extends Model
|
|
{
|
|
protected $guarded = [];
|
|
|
|
public function concert()
|
|
{
|
|
return $this->belongsTo(Concert::class);
|
|
}
|
|
|
|
public function recipients()
|
|
{
|
|
return $this->concert->orders()->pluck('email');
|
|
}
|
|
}
|