This commit is contained in:
16
lib/domain/entities/note_chunk.dart
Normal file
16
lib/domain/entities/note_chunk.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user