Split application and library.

This commit is contained in:
2020-09-02 00:03:14 +02:00
parent cd7a71bfe0
commit f97321d929
11 changed files with 123 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
using System;
namespace BasicBlockChain.Core
{
public class Transaction
{
public string Sender { get; set; }
public string Receiver { get; set; }
public long MicroCoinAmount { get; set; }
public DateTime Date { get; set; }
public Transaction(string sender, string receiver, long microCoinAmount, DateTime date)
{
Sender = sender;
Receiver = receiver;
MicroCoinAmount = microCoinAmount;
Date = date;
}
}
}