17 lines
496 B
Dart
17 lines
496 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'note_chunk.freezed.dart';
|
|
|
|
/// A single text chunk produced by splitting a trainer's note.
|
|
/// [sourceId] groups all chunks that came from the same original note
|
|
/// (useful for bulk deletion later).
|
|
@freezed
|
|
class NoteChunkEntity with _$NoteChunkEntity {
|
|
const factory NoteChunkEntity({
|
|
required String id,
|
|
required String text,
|
|
required String sourceId,
|
|
required String createdAt,
|
|
}) = _NoteChunkEntity;
|
|
}
|