2024-11-08 20:17:39 +04:00
|
|
|
|
using ProjectTourAgency.Enities.Enums;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ProjectTourAgency.Enities;
|
|
|
|
|
|
|
|
|
|
public class ClientTour
|
|
|
|
|
{
|
|
|
|
|
public int ClientId { get; private set; }
|
|
|
|
|
public int TourId { get; private set; }
|
|
|
|
|
|
2024-11-10 16:15:39 +04:00
|
|
|
|
public int Count { get; private set; }
|
|
|
|
|
|
|
|
|
|
public static ClientTour CreateEntity(int clientId, int tourId, int count)
|
2024-11-08 20:17:39 +04:00
|
|
|
|
{
|
|
|
|
|
return new ClientTour
|
|
|
|
|
{
|
|
|
|
|
ClientId = clientId,
|
|
|
|
|
TourId = tourId,
|
2024-11-10 16:15:39 +04:00
|
|
|
|
Count = count
|
2024-11-08 20:17:39 +04:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|