Files
superport/lib/utils/constants.dart
JiWoong Sul c49f6a1696
Some checks failed
Flutter Test & Quality Check / Test on macos-latest (push) Has been cancelled
Flutter Test & Quality Check / Test on ubuntu-latest (push) Has been cancelled
Flutter Test & Quality Check / Build APK (push) Has been cancelled
feat: 장비 이력 화면을 팝업 다이얼로그로 개선
- 기존 전체 화면 방식에서 팝업 다이얼로그 방식으로 변경
- 실시간 검색 필터링 기능 추가
- 모던한 UI 디자인 적용 (카드 스타일, 색상 코딩)
- 반응형 크기 조정 (데스크톱/모바일 대응)
- ESC 키로 닫기 지원
- 불필요한 라우팅 코드 및 파일 정리

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 16:39:12 +09:00

57 lines
2.5 KiB
Dart

/// 앱 전역에서 사용하는 상수 정의 파일
///
/// 라우트, 장비 상태, 장비 유형, 사용자 권한 등 도메인별로 구분하여 관리합니다.
/// 라우트 이름 상수 클래스
class Routes {
static const String home = '/';
static const String equipment = '/equipment'; // 통합 장비 관리
static const String equipmentIn = '/equipment-in'; // 입고 목록(미사용)
static const String equipmentInAdd = '/equipment-in/add'; // 장비 입고 폼
static const String equipmentInEdit = '/equipment-in/edit'; // 장비 입고 편집
static const String equipmentOut = '/equipment-out'; // 출고 목록(미사용)
static const String equipmentOutAdd = '/equipment-out/add'; // 장비 출고 폼
static const String equipmentOutEdit = '/equipment-out/edit'; // 장비 출고 편집
static const String equipmentInList = '/equipment/in'; // 입고 장비 목록
static const String equipmentOutList = '/equipment/out'; // 출고 장비 목록
static const String equipmentRentList = '/equipment/rent'; // 대여 장비 목록
static const String company = '/company';
static const String companyAdd = '/company/add';
static const String companyEdit = '/company/edit';
static const String user = '/user';
static const String userAdd = '/user/add';
static const String userEdit = '/user/edit';
static const String license = '/license';
static const String licenseAdd = '/license/add';
static const String licenseEdit = '/license/edit';
static const String warehouseLocation = '/warehouse-location'; // 입고지 관리 목록
static const String warehouseLocationAdd =
'/warehouse-location/add'; // 입고지 추가
static const String warehouseLocationEdit =
'/warehouse-location/edit'; // 입고지 수정
}
/// 장비 상태 코드 상수 클래스
class EquipmentStatus {
static const String in_ = 'I'; // 입고
static const String out = 'O'; // 출고
static const String rent = 'T'; // 대여
static const String repair = 'R'; // 수리
static const String damaged = 'D'; // 손상
static const String lost = 'L'; // 분실
static const String etc = 'E'; // 기타
}
/// 장비 유형 상수 클래스
class EquipmentType {
static const String new_ = '신제품'; // 신제품
static const String used = '중고'; // 중고
static const String contract = '계약'; // 계약(입고후 즉각 출고)
}
/// 사용자 권한 상수 클래스
class UserRoles {
static const String admin = 'S'; // 관리자
static const String member = 'M'; // 멤버
}