123456789101112131415161718192021222324252627282930 |
- import Foundation
- struct BudgetCategory: Codable, Identifiable {
- var id: UUID = UUID()
- var name: String = ""
- var hidden: Bool = false
- }
- struct BudgetSection: Codable, Identifiable {
- var id: UUID = UUID()
- var name: String = ""
- var hidden: Bool = false
- var categories: [BudgetCategory] = []
- }
- struct BudgetInfo: Codable, Identifiable {
- var id = UUID()
- var name: String = ""
- var localeIdentifier: String = ""
- var sections: [BudgetSection] = []
- }
- typealias BudgetsList = [BudgetInfo]
|