23 lines
609 B
C#
23 lines
609 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Knoks.Core.Entities
|
|
{
|
|
public class CurrencyPair
|
|
{
|
|
public string Currency1 { get; set; }
|
|
public string Currency2 { get; set; }
|
|
public string Currency { get; set; }
|
|
public string DisplayName { get; set; }
|
|
public CurrencyPair() { }
|
|
public CurrencyPair(string currency1, string currency2)
|
|
{
|
|
Currency1 = currency1;
|
|
Currency2 = Currency2;
|
|
Currency = currency2;
|
|
DisplayName = currency1 + "/" + currency2;
|
|
}
|
|
}
|
|
}
|