backup: 사용하지 않는 파일 삭제 전 복구 지점
- 전체 371개 파일 중 82개 미사용 파일 식별 - Phase 1: 33개 파일 삭제 예정 (100% 안전) - Phase 2: 30개 파일 삭제 검토 예정 - Phase 3: 19개 파일 수동 검토 예정 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -327,6 +327,11 @@ class UnifiedEquipment {
|
||||
final String? warehouseLocation; // 창고 위치
|
||||
final DateTime? lastInspectionDate; // 최근 점검일
|
||||
final DateTime? nextInspectionDate; // 다음 점검일
|
||||
|
||||
// 백엔드에서 직접 제공하는 flat 구조 필드들 (equipment list API)
|
||||
final String? companyName; // company_name (백엔드 직접 제공)
|
||||
final String? vendorName; // vendor_name (백엔드 직접 제공)
|
||||
final String? modelName; // model_name (백엔드 직접 제공)
|
||||
|
||||
UnifiedEquipment({
|
||||
this.id,
|
||||
@@ -341,6 +346,10 @@ class UnifiedEquipment {
|
||||
this.warehouseLocation,
|
||||
this.lastInspectionDate,
|
||||
this.nextInspectionDate,
|
||||
// 백엔드 직접 제공 필드들
|
||||
this.companyName,
|
||||
this.vendorName,
|
||||
this.modelName,
|
||||
}) : _type = type;
|
||||
|
||||
// 장비 유형 반환 (입고 장비만)
|
||||
@@ -408,6 +417,10 @@ class UnifiedEquipment {
|
||||
'warehouseLocation': warehouseLocation,
|
||||
'lastInspectionDate': lastInspectionDate?.toIso8601String(),
|
||||
'nextInspectionDate': nextInspectionDate?.toIso8601String(),
|
||||
// 백엔드 직접 제공 필드들
|
||||
'companyName': companyName,
|
||||
'vendorName': vendorName,
|
||||
'modelName': modelName,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -428,6 +441,10 @@ class UnifiedEquipment {
|
||||
nextInspectionDate: json['nextInspectionDate'] != null
|
||||
? DateTime.parse(json['nextInspectionDate'])
|
||||
: null,
|
||||
// 백엔드 직접 제공 필드들 (equipment list API에서)
|
||||
companyName: json['company_name'],
|
||||
vendorName: json['vendor_name'],
|
||||
modelName: json['model_name'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user