initial swift data conversion

This commit is contained in:
Garth Vander Houwen 2026-04-16 12:10:00 -07:00
parent 183924d4dc
commit b2c72ae166
130 changed files with 2939 additions and 2269 deletions

View file

@ -0,0 +1,26 @@
//
// ChannelEntity.swift
// Meshtastic
//
// SwiftData model for channels.
//
import Foundation
import SwiftData
@Model
final class ChannelEntity {
var downlinkEnabled: Bool = false
var id: Int32 = 0
var index: Int32 = 0
var mute: Bool = false
var name: String?
var positionPrecision: Int32 = 32
var psk: Data?
var role: Int32 = 0
var uplinkEnabled: Bool = false
var myInfoChannel: MyInfoEntity?
init() {}
}