Browse Source

add fillable

pull/1/head
wahyuun 10 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 = [ protected $fillable = [
'role_id', 'role_id',
'username', 'username',
'discount_id',
'password', 'password',
'session_login', 'session_login',
'name', 'name',

1
app/Models/RefferalCode.php

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

Loading…
Cancel
Save