25 lines
411 B
Swift
25 lines
411 B
Swift
//
|
|
// Account.swift
|
|
// meterios
|
|
//
|
|
// (c) 2025 Martin "maride" Dessauer
|
|
//
|
|
|
|
struct Account: Encodable, Decodable {
|
|
private let address: String
|
|
private let userID: Int
|
|
|
|
init(address: String, userID: Int) {
|
|
self.address = address
|
|
self.userID = userID
|
|
}
|
|
|
|
func GetAddress() -> String {
|
|
return address
|
|
}
|
|
|
|
func GetUserID() -> Int {
|
|
return userID
|
|
}
|
|
}
|