사용하지 않는 파일 정리 전 백업 (Phase 10 완료 후 상태)
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
/// 앱 전역에서 사용하는 상수 정의 파일
|
||||
///
|
||||
/// 라우트, 장비 상태, 장비 유형, 사용자 권한 등 도메인별로 구분하여 관리합니다.
|
||||
library;
|
||||
|
||||
/// 라우트 이름 상수 클래스
|
||||
class Routes {
|
||||
static const String home = '/';
|
||||
static const String vendor = '/vendor'; // 벤더 관리
|
||||
static const String vendors = '/vendor'; // 복수형 별칭
|
||||
static const String model = '/model'; // 모델 관리
|
||||
static const String models = '/model'; // 복수형 별칭
|
||||
static const String equipment = '/equipment'; // 통합 장비 관리
|
||||
static const String equipmentIn = '/equipment-in'; // 입고 목록(미사용)
|
||||
static const String equipmentInAdd = '/equipment-in/add'; // 장비 입고 폼
|
||||
@@ -23,16 +28,37 @@ class Routes {
|
||||
static const String users = '/user'; // 복수형 별칭
|
||||
static const String userAdd = '/user/add';
|
||||
static const String userEdit = '/user/edit';
|
||||
static const String license = '/license';
|
||||
static const String licenses = '/license'; // 복수형 별칭
|
||||
static const String licenseAdd = '/license/add';
|
||||
static const String licenseEdit = '/license/edit';
|
||||
// License 시스템이 Maintenance로 대체됨
|
||||
static const String warehouseLocation = '/warehouse-location'; // 입고지 관리 목록
|
||||
static const String warehouseLocations = '/warehouse-location'; // 복수형 별칭
|
||||
static const String warehouseLocationAdd =
|
||||
'/warehouse-location/add'; // 입고지 추가
|
||||
static const String warehouseLocationEdit =
|
||||
'/warehouse-location/edit'; // 입고지 수정
|
||||
static const String zipcode = '/zipcode'; // 우편번호 검색
|
||||
static const String zipcodes = '/zipcode'; // 복수형 별칭
|
||||
|
||||
// 재고 관리 라우트
|
||||
static const String inventory = '/inventory'; // 재고 이력
|
||||
static const String inventoryHistory = '/inventory/history'; // 재고 이력
|
||||
static const String inventoryDashboard = '/inventory/dashboard'; // 재고 대시보드
|
||||
static const String inventoryStockIn = '/inventory/stock-in'; // 입고 등록
|
||||
static const String inventoryStockOut = '/inventory/stock-out'; // 출고 처리
|
||||
|
||||
// 유지보수 관리 라우트
|
||||
static const String maintenance = '/maintenance'; // 유지보수 일정
|
||||
static const String maintenanceSchedule = '/maintenance/schedule'; // 유지보수 일정
|
||||
static const String maintenanceAlert = '/maintenance/alert'; // 유지보수 알림
|
||||
static const String maintenanceHistory = '/maintenance/history'; // 유지보수 이력
|
||||
static const String maintenanceAdd = '/maintenance/add'; // 유지보수 추가
|
||||
static const String maintenanceEdit = '/maintenance/edit'; // 유지보수 수정
|
||||
|
||||
// 임대 관리 라우트
|
||||
static const String rent = '/rent'; // 임대 목록
|
||||
static const String rents = '/rent'; // 복수형 별칭
|
||||
static const String rentDashboard = '/rent/dashboard'; // 임대 대시보드
|
||||
static const String rentAdd = '/rent/add'; // 임대 추가
|
||||
static const String rentEdit = '/rent/edit'; // 임대 수정
|
||||
}
|
||||
|
||||
/// 장비 상태 코드 상수 클래스
|
||||
@@ -59,3 +85,10 @@ class UserRoles {
|
||||
static const String admin = 'S'; // 관리자
|
||||
static const String member = 'M'; // 멤버
|
||||
}
|
||||
|
||||
/// 페이지네이션 상수 클래스
|
||||
class PaginationConstants {
|
||||
static const int defaultPageSize = 10; // 기본 페이지 사이즈
|
||||
static const int maxPageSize = 100; // 최대 페이지 사이즈
|
||||
static const int minPageSize = 5; // 최소 페이지 사이즈
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user