Added Transaction model

This commit is contained in:
AaronJamesY 2017-02-13 22:32:34 +00:00
parent f72875efd6
commit 8420adb2e0
3 changed files with 32 additions and 0 deletions

View file

@ -67,6 +67,7 @@
<Compile Include="Contracts\IScriptManager.cs" />
<Compile Include="Enums\Provider.cs" />
<Compile Include="Enums\ResponseStatus.cs" />
<Compile Include="Enums\TransactionType.cs" />
<Compile Include="Exceptions\InvalidCredentialsException.cs" />
<Compile Include="Extensions\StringExtensions.cs" />
<Compile Include="Helpers\AccountHelpers.cs" />
@ -76,6 +77,7 @@
<Compile Include="ActionManagers\LoginManagers\LloydsLoginManager.cs" />
<Compile Include="ActionManagers\LoginManagers\LoginManager.cs" />
<Compile Include="Models\Account.cs" />
<Compile Include="Models\Transaction.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ScriptManagement\ScriptBundles.cs" />
<Compile Include="ScriptManagement\ScriptManager.cs" />

View file

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankingBot.Enums
{
public enum TransactionType
{
}
}

View file

@ -0,0 +1,18 @@
using BankingBot.Enums;
using System;
namespace BankingBot.Models
{
public class Transaction
{
public Account Account { get; set; }
public decimal Amount { get; set; }
public TransactionType Type { get; set; }
public string Description { get; set; }
public DateTime Date { get; set; }
}
}