Add backend operation to use with MyKad reader feature
This commit is contained in:
+7
-4
@@ -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 = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user