mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Add NextcloudLocalFileMetadataTable derived from iOS app
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
f15187c8b4
commit
63bcd02512
1 changed files with 17 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue