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:
JiWoong Sul
2025-09-02 19:51:40 +09:00
parent 650cd4be55
commit c419f8f458
149 changed files with 12934 additions and 3644 deletions

View File

@@ -12,20 +12,8 @@ class CreateEquipmentUseCase extends UseCase<EquipmentDto, EquipmentRequestDto>
@override
Future<Either<Failure, EquipmentDto>> call(EquipmentRequestDto params) async {
// 입력 검증
if (params.companiesId <= 0) {
return Left(ValidationFailure(
message: '회사를 선택해주세요.',
errors: {'companiesId': '회사는 필수 선택 항목입니다.'},
));
}
if (params.modelsId <= 0) {
return Left(ValidationFailure(
message: '모델을 선택해주세요.',
errors: {'modelsId': '모델은 필수 선택 항목입니다.'},
));
}
// 입력 검증 (백엔드에서 companies_id, models_id는 Optional이므로 null 허용)
// 존재 여부 검증은 백엔드에서 수행
if (params.serialNumber.trim().isEmpty) {
return Left(ValidationFailure(