mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 16:11:06 +03:30
feat: add factory for models
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\Relations\MorphTo;
|
||||
@@ -9,7 +10,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Transfer extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
use SoftDeletes,HasFactory;
|
||||
|
||||
public $fillable = ['user_id', 'to_date', 'from_date', 'status', 'user_transfer_id'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user