2021-10-12 14:48:35 +00:00
|
|
|
import 'package:photos/models/file.dart';
|
|
|
|
|
2023-08-24 16:56:24 +00:00
|
|
|
class TrashFile extends EnteFile {
|
2021-10-12 14:48:35 +00:00
|
|
|
// time when file was put in the trash for first time
|
2022-09-23 06:25:45 +00:00
|
|
|
late int createdAt;
|
2021-10-12 14:48:35 +00:00
|
|
|
|
|
|
|
// for non-deleted trash items, updateAt is usually equal to the latest time
|
|
|
|
// when the file was moved to trash
|
2022-09-23 06:25:45 +00:00
|
|
|
late int updateAt;
|
2021-10-12 14:48:35 +00:00
|
|
|
|
|
|
|
// time after which will will be deleted from trash & user's storage usage
|
|
|
|
// will go down
|
2022-09-23 06:25:45 +00:00
|
|
|
late int deleteBy;
|
2021-10-12 14:48:35 +00:00
|
|
|
}
|