diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-11-27 12:39:11 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-11-27 12:39:11 -0800 |
| commit | de5ee043826bce23906bfcb351a2702e1aa88270 (patch) | |
| tree | 39c945bf3958d2e295a66596d1bac53ceb4c54d6 /Hotline/Item.swift | |
Getting started
Diffstat (limited to 'Hotline/Item.swift')
| -rw-r--r-- | Hotline/Item.swift | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Hotline/Item.swift b/Hotline/Item.swift new file mode 100644 index 0000000..4fa6e0c --- /dev/null +++ b/Hotline/Item.swift @@ -0,0 +1,18 @@ +// +// Item.swift +// Hotline +// +// Created by Dustin Mierau on 11/25/23. +// + +import Foundation +import SwiftData + +@Model +final class Item { + var timestamp: Date + + init(timestamp: Date) { + self.timestamp = timestamp + } +} |