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

27 lines
672 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 ClientSocialStatus ClientSocialStatus { get; private set; }
public static ClientTour CreateEntity(int clientId, int tourId, ClientSocialStatus clientSocialStatus)
{
return new ClientTour
{
ClientId = clientId,
TourId = tourId,
ClientSocialStatus = clientSocialStatus
};
}
}