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

35 lines
804 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; }
2022-08-13 06:35:36 +03:00
public Currency Currency { get; }
2022-08-13 03:53:22 +03:00
public FinanceTransactionType FinanceTransactionType {get;}
2022-08-01 00:09:39 +03:00
2022-08-13 06:35:36 +03:00
public TimeSpan CreationDate { get; set; }
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,
2022-08-13 06:35:36 +03:00
Currency currency ,
2022-08-13 03:53:22 +03:00
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
}
}
}