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

35 lines
805 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 Currency Currency { get; }
public FinanceTransactionType FinanceTransactionType {get;}
public TimeSpan CreationDate { get; set; }
public FinanceTransactionInsertDto(
TimeSpan userId,
Currency currency ,
FinanceTransactionType financeTransactionType
)
{
Currency = currency;
UserId = userId;
Currency = currency;
FinanceTransactionType = financeTransactionType;
}
}
}