Initial project import for team collaboration.

Exclude local docs, MCP, and secrets via gitignore.

Made-with: Cursor
This commit is contained in:
taekyoungc
2026-03-25 12:05:33 +09:00
commit 4e557d4be1
153 changed files with 16198 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class MenuTypeModel extends Model
{
protected $table = 'menu_type';
protected $primaryKey = 'mt_idx';
protected $returnType = 'object';
protected $useTimestamps = false;
protected $allowedFields = ['mt_code', 'mt_name', 'mt_sort'];
public function getByCode(string $code): ?object
{
return $this->where('mt_code', $code)->first();
}
}