Add NextcloudLocalFileMetadataTable derived from iOS app

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-01-12 21:34:21 +01:00
parent f15187c8b4
commit 63bcd02512
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -128,3 +128,20 @@ class NextcloudDirectoryMetadataTable: Object {
return "ocId"
}
}
class NextcloudLocalFileMetadataTable: Object {
@objc dynamic var account = ""
@objc dynamic var etag = ""
@objc dynamic var exifDate: NSDate?
@objc dynamic var exifLatitude = ""
@objc dynamic var exifLongitude = ""
@objc dynamic var exifLensModel: String?
@objc dynamic var favorite: Bool = false
@objc dynamic var fileName = ""
@objc dynamic var ocId = ""
@objc dynamic var offline: Bool = false
override static func primaryKey() -> String {
return "ocId"
}
}