This commit is contained in:
antv
2026-07-02 17:02:02 +07:00
parent 89790539b7
commit f594a45e84
17 changed files with 200 additions and 122 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ class AddCard extends Model
protected $table = 'add_card';
public $timestamps = false;
protected $primaryKey = null;
public $incrementing = false;
protected $primaryKey = 'id';
protected $fillable = [
'buyer',
+4 -3
View File
@@ -25,14 +25,15 @@ class User extends Authenticatable
protected $table = 'user';
public $timestamps = false;
protected $primaryKey = 'msnv';
public $incrementing = false;
protected $keyType = 'string';
protected $primaryKey = 'id';
protected $fillable = [
'msnv',
'name',
'mail',
'pass',
'departments',
'avatar',
'role',
'status',
'card',