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

34 lines
749 B
C#
Raw Normal View History

2021-12-10 03:04:48 +03:00
using System;
using System.Collections.Generic;
using System.Text;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(typeof(FinanceTransaction))]
2022-08-04 03:59:04 +03:00
public partial class FinanceTransactionInsertDto
2021-12-10 03:04:48 +03:00
{
2022-08-13 03:53:22 +03:00
public TimeSpan UserId { get; set; }
public string Currency { get; }
public FinanceTransactionType FinanceTransactionType {get;}
2022-08-01 00:09:39 +03:00
2021-12-10 03:04:48 +03:00
public FinanceTransactionInsertDto(
2022-08-13 03:53:22 +03:00
TimeSpan userId,
string currency ,
FinanceTransactionType financeTransactionType
)
2021-12-10 03:04:48 +03:00
{
2022-08-01 00:09:39 +03:00
Currency = currency;
2022-08-13 03:53:22 +03:00
UserId = userId;
Currency = currency;
FinanceTransactionType = financeTransactionType;
2021-12-10 03:04:48 +03:00
}
}
}