Add backend operation to use with MyKad reader feature

This commit is contained in:
afiq.hamzah
2023-03-06 10:33:22 +08:00
parent a272171ebb
commit 812191032c
5 changed files with 50 additions and 16 deletions
+7 -4
View File
@@ -7,15 +7,18 @@ use Illuminate\Database\Eloquent\Model;
class Poskod extends Model
{
protected $table = 'poskod';
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
// protected $fillable = [
// ];
protected $fillable = [
'poskod',
'koddaerah',
'kodnegeri',
];
/**
* The attributes excluded from the model's JSON form.
@@ -23,4 +26,4 @@ class Poskod extends Model
* @var array
*/
// protected $hidden = [];
}
}