프로젝트 최초 커밋

This commit is contained in:
JiWoong Sul
2025-07-02 17:45:44 +09:00
commit e346f83c97
235 changed files with 23139 additions and 0 deletions

16
lib/utils/user_utils.dart Normal file
View File

@@ -0,0 +1,16 @@
// 사용자 관련 유틸리티 함수 모음
// 역할명 변환 등 공통 로직을 관리
import '../utils/constants.dart';
// 역할 코드 → 한글명 변환 함수
String getRoleName(String role) {
switch (role) {
case UserRoles.admin:
return '관리자';
case UserRoles.member:
return '일반 사용자';
default:
return '알 수 없음';
}
}