Penambahan FrontEnd All-New-Manufacture

This commit is contained in:
pand03
2026-01-31 14:23:04 +07:00
parent 1b2e320b2b
commit 4feb21dcbc
2891 changed files with 426849 additions and 135 deletions

22
app/Models/MemberCard.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class MemberCard extends Model
{
use HasFactory;
protected $table = 'card_member';
protected $fillable = [
'notrans', 'no_card', 'no_urut', 'tanggal', 'adm'
];
public function memberCard ()
{
return $this->belongsTo(StikerTrans::class, 'no_id', 'notrans');
}
}