ctrlpanel/app/Models/TicketBlacklist.php

18 lines
288 B
PHP
Raw Normal View History

2022-08-12 09:01:51 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TicketBlacklist extends Model
{
2022-08-12 09:01:51 +00:00
protected $fillable = [
'user_id', 'status', 'reason',
2022-08-12 09:01:51 +00:00
];
public function user()
{
return $this->belongsTo(User::class, 'user_id', 'id');
}
}