CodeLiturgy.Dashboard/BlueWest.Data.Capital/Transaction/FinanceOpCreate.cs

32 lines
655 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using MapTo;
namespace BlueWest.Data
{
[MapFrom( typeof(FinanceOp))]
public partial class FinanceOpCreate
{
public int UserId { get; set; }
public Currency Currency { get; }
public FinanceOpType FinanceOpType {get;}
public FinanceOpCreate(
int userId,
Currency currency ,
FinanceOpType financeOpType
)
{
Currency = currency;
UserId = userId;
Currency = currency;
FinanceOpType = financeOpType;
}
}
}