| 1 | <?php |
||
| 17 | class TicketUpload extends Model |
||
| 18 | { |
||
| 19 | |||
| 20 | use HasConfigModel; |
||
| 21 | |||
| 22 | protected $fillable = [ |
||
| 23 | 'path' |
||
| 24 | ]; |
||
| 25 | |||
| 26 | public function getTable() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The message where the upload is attached to it |
||
| 33 | * |
||
| 34 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 35 | */ |
||
| 36 | public function message() |
||
| 40 | |||
| 41 | } |
||
| 42 |