Files
SwiftChain/SwiftChain/Models/Transaction.swift
Victor Bodinaud 3d88a95823 🏗️ Change the project
2024-11-27 19:22:11 +01:00

23 lines
405 B
Swift

//
// File.swift
//
//
// Created by Victor BODINAUD on 31/03/2021.
//
import Foundation
class Transaction {
var sender: String
var receiver: String
var amount: Int
var type: String
init(sender: String, receiver: String, amount: Int, type: String) {
self.sender = sender
self.receiver = receiver
self.amount = amount
self.type = type
}
}