28 lines
591 B
C#
28 lines
591 B
C#
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; }
|
|
|
|
public int Count { get; private set; }
|
|
|
|
public static ClientTour CreateEntity(int clientId, int tourId, int count)
|
|
{
|
|
return new ClientTour
|
|
{
|
|
ClientId = clientId,
|
|
TourId = tourId,
|
|
Count = count
|
|
};
|
|
}
|
|
|
|
}
|