refactor: Phase 2 - 레거시 서비스 데이터 분리
- legacy_service_data.dart 파일 생성 - 12개의 static Map 데이터 이동 - 파일 크기 940줄에서 575줄로 감소 (38.8% 감소) - 기존 API 호환성 유지 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
20
lib/services/url_matcher/models/service_info.dart
Normal file
20
lib/services/url_matcher/models/service_info.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
/// 서비스 정보를 담는 데이터 클래스
|
||||
class ServiceInfo {
|
||||
final String serviceId;
|
||||
final String serviceName;
|
||||
final String? serviceUrl;
|
||||
final String? cancellationUrl;
|
||||
final String categoryId;
|
||||
final String categoryNameKr;
|
||||
final String categoryNameEn;
|
||||
|
||||
ServiceInfo({
|
||||
required this.serviceId,
|
||||
required this.serviceName,
|
||||
this.serviceUrl,
|
||||
this.cancellationUrl,
|
||||
required this.categoryId,
|
||||
required this.categoryNameKr,
|
||||
required this.categoryNameEn,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user