CodeLiturgy.Dashboard/BlueWest.Data/Finance/FinanceTransactionInsertDto.cs

34 lines
749 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(typeof(FinanceTransaction))]
public partial class FinanceTransactionInsertDto
{
public TimeSpan UserId { get; set; }
public string Currency { get; }
public FinanceTransactionType FinanceTransactionType {get;}
public FinanceTransactionInsertDto(
TimeSpan userId,
string currency ,
FinanceTransactionType financeTransactionType
)
{
Currency = currency;
UserId = userId;
Currency = currency;
FinanceTransactionType = financeTransactionType;
}
}
}