mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 20:21:06 +03:30
feat: add factory for models
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Message extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
use SoftDeletes,HasFactory;
|
||||
|
||||
public $fillable = ['title', 'text', 'status', 'recipient_user_id', 'sender_user_id'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user