You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
527 B
28 lines
527 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
|
||
|
class Customer extends Model
|
||
|
{
|
||
|
use HasFactory, SoftDeletes;
|
||
|
protected $table = 'customers';
|
||
|
|
||
|
protected $fillable = [
|
||
|
'name',
|
||
|
'code_customer',
|
||
|
'lot_no',
|
||
|
'nip',
|
||
|
'no_hp',
|
||
|
'tgl_lahir',
|
||
|
'jenis_kelamin',
|
||
|
'agama',
|
||
|
'address',
|
||
|
'created_by',
|
||
|
'updated_by',
|
||
|
];
|
||
|
}
|