class TranslationRequest {
  final String id;
  final String userId;
  final String inputText;
  final DateTime timestamp;
  String? result;

  TranslationRequest({
    required this.id,
    required this.userId,
    required this.inputText,
    required this.timestamp,
    this.result,
  });

  Map<String, dynamic> toJson() => {
        'id': id,
        'userId': userId,
        'inputText': inputText,
        'timestamp': timestamp.toIso8601String(),
        'result': result,
      };
}
