- V/R 시스템 완전 전환: WARRANTY/CONTRACT/INSPECTION → V(방문)/R(원격) - 유지보수 대시보드 카드 → StandardDataTable 테이블 형태 전환 - "조회중..." 문제 해결: 백엔드 직접 필드 사용 (equipment_model, company_name) - MaintenanceDto 신규 필드 추가: company_id, company_name, equipment_serial, equipment_model - preloadEquipmentData 비활성화로 불필요한 equipment-history API 호출 제거 - CO-STAR 프레임워크 적용 및 CLAUDE.md v3.0 업데이트 - Flutter Analyze ERROR: 0 유지, 100% shadcn_ui 컴플라이언스 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
1.8 KiB
Dart
47 lines
1.8 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'stock_status_dto.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$StockStatusDtoImpl _$$StockStatusDtoImplFromJson(Map<String, dynamic> json) =>
|
|
_$StockStatusDtoImpl(
|
|
equipmentId: (json['equipment_id'] as num).toInt(),
|
|
warehouseId: (json['warehouse_id'] as num).toInt(),
|
|
equipmentSerial: json['equipment_serial'] as String,
|
|
modelName: json['model_name'] as String?,
|
|
warehouseName: json['warehouse_name'] as String,
|
|
currentQuantity: (json['current_quantity'] as num).toInt(),
|
|
lastTransactionDate: json['last_transaction_date'] == null
|
|
? null
|
|
: DateTime.parse(json['last_transaction_date'] as String),
|
|
);
|
|
|
|
Map<String, dynamic> _$$StockStatusDtoImplToJson(
|
|
_$StockStatusDtoImpl instance) =>
|
|
<String, dynamic>{
|
|
'equipment_id': instance.equipmentId,
|
|
'warehouse_id': instance.warehouseId,
|
|
'equipment_serial': instance.equipmentSerial,
|
|
'model_name': instance.modelName,
|
|
'warehouse_name': instance.warehouseName,
|
|
'current_quantity': instance.currentQuantity,
|
|
'last_transaction_date': instance.lastTransactionDate?.toIso8601String(),
|
|
};
|
|
|
|
_$StockStatusListResponseImpl _$$StockStatusListResponseImplFromJson(
|
|
Map<String, dynamic> json) =>
|
|
_$StockStatusListResponseImpl(
|
|
items: (json['items'] as List<dynamic>)
|
|
.map((e) => StockStatusDto.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
Map<String, dynamic> _$$StockStatusListResponseImplToJson(
|
|
_$StockStatusListResponseImpl instance) =>
|
|
<String, dynamic>{
|
|
'items': instance.items,
|
|
};
|