54 lines
1.1 KiB
Dart
54 lines
1.1 KiB
Dart
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 dell’entry usata come cover
|
||
int? thumbEntryId;
|
||
|
||
// timestamp dell’entry 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,
|
||
});
|
||
}
|