models for kadar anggota koperasi
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Anggota extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'anggota';
|
||||||
|
protected $connection = 'mysql7';
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'no_anggota',
|
||||||
|
'nama',
|
||||||
|
'noic',
|
||||||
|
'no_tel',
|
||||||
|
];
|
||||||
|
}
|
||||||
+2
-1
@@ -61,7 +61,8 @@ class Customer extends Model
|
|||||||
'kumpulan',
|
'kumpulan',
|
||||||
'telefon2',
|
'telefon2',
|
||||||
'nota_pekerjaan',
|
'nota_pekerjaan',
|
||||||
'tagpelanggan'
|
'tagpelanggan',
|
||||||
|
'tag_anggota'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class MohonAnggota extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'mohon_anggota';
|
||||||
|
protected $connection = 'mysql7';
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'tarikh', 'nokp', 'status', 'komen', 'siri', 'teller', 'pelulus', 'peloperasi'
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user