mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 03:41:07 +03:30
saeid
This commit is contained in:
+5
-2
@@ -3,12 +3,15 @@
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class TestType extends Model
|
||||
{
|
||||
public $fillable = ['name','unique_code','user_id'];
|
||||
protected $softDelete = true;
|
||||
use SoftDeletes;
|
||||
|
||||
public $fillable = ['name','unique_code','user_id'];
|
||||
// protected $softDelete = true;
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
|
||||
Reference in New Issue
Block a user