aves_mio100/lib/model/db/folder_stats.dart
2026-07-06 14:52:45 +02:00

54 lines
1.1 KiB
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class FolderStats {
// percorso della cartella (PRIMARY KEY)
final String path;
// nome visualizzato (può essere diverso dal nome della cartella)
String displayName;
// numero di file nella cartella
int fileCount;
// dimensione totale in byte
int totalSize;
// id dellentry usata come cover
int? thumbEntryId;
// timestamp dellentry usata come cover
int? thumbDate;
// tipo album (0 = normale, 1 = camera, 2 = screenshot, ecc.)
int albumType;
// priorità per i pinned (0 = normale)
int priority;
// 0 = locale, 1 = remoto
int isRemote;
// per album remoti
String? user;
String? deviceId;
// album nascosto (0 = visibile, 1 = nascosto)
int hidden;
// tipo ibrido (es. "camera", "screenshots", ecc.)
String? hybridType;
FolderStats({
required this.path,
required this.displayName,
this.fileCount = 0,
this.totalSize = 0,
this.thumbEntryId,
this.thumbDate,
this.albumType = 0,
this.priority = 0,
this.isRemote = 0,
this.user,
this.deviceId,
this.hidden = 0,
this.hybridType,
});
}