29 lines
697 B
C#
29 lines
697 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectTourAgency.Enities
|
|||
|
{
|
|||
|
public class AddMoney
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public int ClientId { get; private set; }
|
|||
|
public DateTime Date { get; private set; }
|
|||
|
public int MoneyAmount{ get; private set; }
|
|||
|
|
|||
|
public static AddMoney CreateEntity(int id,int cId,
|
|||
|
DateTime date, int money)
|
|||
|
{
|
|||
|
return new AddMoney
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
ClientId = cId,
|
|||
|
Date = date,
|
|||
|
MoneyAmount = money
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|