Browse Source

add fillable

pull/1/head
wahyuun 9 months ago
parent
commit
19d22c5436
  1. 1
      app/Models/HumanResource.php
  2. 1
      app/Models/RefferalCode.php

1
app/Models/HumanResource.php

@ -14,6 +14,7 @@ class HumanResource extends Model
protected $fillable = [
'role_id',
'username',
'discount_id',
'password',
'session_login',
'name',

1
app/Models/RefferalCode.php

@ -12,7 +12,6 @@ class RefferalCode extends Model
const UPDATED_AT = 'updated_at';
protected $fillable = [
'id',
'code',
'amount',
'exp',

Loading…
Cancel
Save