mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-18 05:00:35 +00:00
18 lines
413 B
Swift
18 lines
413 B
Swift
import Foundation
|
|
import SwiftData
|
|
import SwiftUI
|
|
|
|
@Model public class TagGroup: Equatable {
|
|
public var title: String = ""
|
|
public var symbolName: String = ""
|
|
public var tags: [String] = []
|
|
public var creationDate: Date = Date()
|
|
|
|
public init(title: String, symbolName: String, tags: [String]) {
|
|
self.title = title
|
|
self.symbolName = symbolName
|
|
self.tags = tags
|
|
creationDate = Date()
|
|
}
|
|
}
|