models for kadar anggota koperasi

This commit is contained in:
nurafrinaalimi16
2025-11-10 18:51:01 +08:00
parent 2f188d9d90
commit 1075d7d585
3 changed files with 35 additions and 1 deletions
+18
View File
@@ -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
View File
@@ -61,7 +61,8 @@ class Customer extends Model
'kumpulan',
'telefon2',
'nota_pekerjaan',
'tagpelanggan'
'tagpelanggan',
'tag_anggota'
];
/**
+15
View File
@@ -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'
];
}