feat: syn product

This commit is contained in:
efrilm
2025-08-03 00:35:00 +07:00
parent 576f687d21
commit 7678b4791d
28 changed files with 1922 additions and 948 deletions
@@ -3,7 +3,7 @@ import 'dart:developer';
import 'package:image_picker/image_picker.dart';
class ProductRequestModel {
final int? id;
final String? id;
final String name;
final int price;
final int stock;
@@ -32,11 +32,11 @@ class ProductRequestModel {
'is_best_seller': isBestSeller.toString(),
'printer_type': printerType ?? '',
};
if (id != null) {
map['id'] = id.toString();
}
return map;
}
}