Initial draft

This commit is contained in:
Dennis Nemec
2025-09-20 16:14:06 +02:00
commit b19a6e1cd4
219 changed files with 10317 additions and 0 deletions

View File

@ -0,0 +1,18 @@
import 'package:json_annotation/json_annotation.dart';
part 'discount_update.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class DiscountUpdateDTO {
DiscountUpdateDTO(
{required this.note, required this.deliveryId, required this.discount});
String? note;
String deliveryId;
int? discount;
factory DiscountUpdateDTO.fromJson(Map<String, dynamic> json) =>
_$DiscountUpdateDTOFromJson(json);
Map<dynamic, dynamic> toJson() => _$DiscountUpdateDTOToJson(this);
}