Files
Holzleitner-Lieferservice-App/lib/dto/payment.dart
Dennis Nemec b19a6e1cd4 Initial draft
2025-09-20 16:14:06 +02:00

17 lines
466 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'payment.g.dart';
@JsonSerializable()
class PaymentMethodDTO {
PaymentMethodDTO(this.id,
{required this.description,
required this.shortCode});
final String id;
final String description;
final String shortCode;
factory PaymentMethodDTO.fromJson(Map<String, dynamic> json) => _$PaymentMethodDTOFromJson(json);
Map<dynamic, dynamic> toJson() => _$PaymentMethodDTOToJson(this);
}