P2-01/02 기본코드 종류 및 세부코드 관리 CRUD 구현

- CodeKindModel + CodeKind 컨트롤러 (목록/등록/수정/삭제)
- CodeDetailModel + CodeDetail 컨트롤러 (종류별 세부코드 CRUD)
- View: code_kind/(index,create,edit), code_detail/(index,create,edit)
- 라우트: /admin/code-kinds/*, /admin/code-details/*
- E2E 테스트 7개 전체 통과
- 스크린샷 2개 추가

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
javamon1174
2026-03-25 16:20:56 +09:00
parent 34cecad2e2
commit 41442c23a1
15 changed files with 620 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class CodeKindModel extends Model
{
protected $table = 'code_kind';
protected $primaryKey = 'ck_idx';
protected $returnType = 'object';
protected $useTimestamps = false;
protected $allowedFields = [
'ck_code',
'ck_name',
'ck_state',
'ck_regdate',
];
}