2021-12-10 03:04:48 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using MapTo;
|
|
|
|
|
|
|
|
|
|
namespace BlueWest.Data
|
|
|
|
|
{
|
2022-08-18 22:59:13 +03:00
|
|
|
|
[MapFrom( typeof(FinanceOp))]
|
2021-12-10 03:04:48 +03:00
|
|
|
|
|
2022-08-18 22:59:13 +03:00
|
|
|
|
public partial class FinanceOpCreate
|
2021-12-10 03:04:48 +03:00
|
|
|
|
{
|
2022-08-19 06:18:50 +03:00
|
|
|
|
public int UserId { get; set; }
|
2022-08-13 03:53:22 +03:00
|
|
|
|
|
2022-08-13 06:35:36 +03:00
|
|
|
|
public Currency Currency { get; }
|
2022-08-13 03:53:22 +03:00
|
|
|
|
|
2022-08-18 22:59:13 +03:00
|
|
|
|
public FinanceOpType FinanceOpType {get;}
|
2022-08-13 03:53:22 +03:00
|
|
|
|
|
2022-08-01 00:09:39 +03:00
|
|
|
|
|
2022-08-18 22:59:13 +03:00
|
|
|
|
public FinanceOpCreate(
|
2022-08-19 06:18:50 +03:00
|
|
|
|
int userId,
|
2022-08-13 06:35:36 +03:00
|
|
|
|
Currency currency ,
|
2022-08-18 22:59:13 +03:00
|
|
|
|
FinanceOpType financeOpType
|
2022-08-13 03:53:22 +03:00
|
|
|
|
)
|
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;
|
2022-08-18 22:59:13 +03:00
|
|
|
|
FinanceOpType = financeOpType;
|
2021-12-10 03:04:48 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|