pembuatan api

This commit is contained in:
hafifierahman
2020-12-28 18:36:49 +08:00
parent 52e91a2050
commit 232aa41f0e
17 changed files with 740 additions and 38 deletions
+35
View File
@@ -0,0 +1,35 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Pembeli extends Model
{
protected $table = 'pembeli';
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'nopembeli',
'nokp',
'nama',
'alamat1',
'alamat2',
'alamat3',
'alamat4',
'telefon',
'tag_syarikat'
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
// protected $hidden = [];
}