PIBD_21_Basalov_A_D_Project.../project/ProjectTourAgency/Enities/ClientTour.cs

28 lines
591 B
C#
Raw Normal View History

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
};
}
}