Split application and library.
This commit is contained in:
20
BasicBlockChain.Core/Transaction.cs
Normal file
20
BasicBlockChain.Core/Transaction.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user