Open duchdtran opened 3 years ago
Dòng code trên trong file entity/bike/bike.dart đang vi phạm control coupling, hãy sửa lại cho đúng.
Giải pháp: Tạo 1 class BikeMapper phụ trách việc chuyển đổi từ loại xe sang Bike tương ứng bằng cách sử dụng kiểu dữ liệu Map
Khi có yêu cầu thêm 1 loại xe mới thì:
Dòng code trên trong file entity/bike/bike.dart đang vi phạm control coupling, hãy sửa lại cho đúng.