Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions BE/GuestRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,15 @@ public class GuestRequest : requirement
requirement requirement = new requirement();


public int GuestRequestKey { get; private set; }
public int GuestRequestKey { get; set; }
public String PrivateName { get; set; }
public String FamilyName { get; set; }
public String MailAddress { get; set; }
public ClientStatus Status { get; set; }
public DateTime RegistrationDate { get; set; }
public DateTime EntryDate { get; set; }
public DateTime ReleaseDate { get; set; }
/*
public Area Area { get; set; }
public String SubArea { get; set; }
public HostingType HostingType { get; set; }
public int Adults { get; set; }
public int Children { get; set; }
public Requirements Pool { get; set; }
public Requirements Jacuzzi { get; set; }
public Requirements Garden { get; set; }
public Requirements ChildrensAttractions { get; set; }
//********************
public Requirements SpredBads { get; set; }
public Requirements AirCondsner { get; set; }
public Requirements frisider { get; set; }
public Requirements SingogNaerBy { get; set; }
public Requirements NaerPublicTrensportion { get; set; }
*/

/// <summary>
/// c-tor
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion BE/HostingUnit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace BE
public class HostingUnit : requirement
{
requirement requirement = new requirement();
public int HostingUnitKey { get; private set; }
public int HostingUnitKey { get; set; }
public Host Owner { get; set; }
public String HostingUnitName { get; set; }

Expand Down
5 changes: 4 additions & 1 deletion BE/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Utilities;

namespace BE
Expand All @@ -14,8 +15,10 @@ public class Order

public int HostingUnitKey { get; set; }
public int GuestRequestKey { get; set; }
public DateTime CreateDate { get; set; }

public DateTime OrderDate { get; set; }

public DateTime CreateDate { get; set; }
public OrderStatus Status { get; set; }

public override string ToString()
Expand Down
2 changes: 1 addition & 1 deletion BL/IBL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface IBL
bool IsDateAvailable(DateTime start, DateTime end, int unitKey);
void CloseOrder(Order order);
void SendMail(Order order);
bool UnitRemove(int unit);
void UnitRemove(int unit);

List<HostingUnit> UintsAvailable(DateTime start, int numOfDays);
int NumOfDays(DateTime date);
Expand Down
Loading