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
Binary file modified fullstackProject/.vs/MVCProject/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified fullstackProject/.vs/MVCProject/v17/.suo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
using System.Text;
using System.Threading.Tasks;

namespace DAL.service
namespace DAL.API
{
internal class CurrentlyWeek
internal interface IDoctorDAL
{

}
}
21 changes: 21 additions & 0 deletions fullstackProject/DAL/Models/AvailableQueue.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;

namespace DAL.Models;

public partial class AvailableQueue
{
public int QueueId { get; set; }

public int ClientId { get; set; }

public bool IsAvailable { get; set; }

public int DoctorId { get; set; }

public DateTime AppointmentDate { get; set; }

public virtual Client Client { get; set; } = null!;

public virtual Doctor Doctor { get; set; } = null!;
}
50 changes: 25 additions & 25 deletions fullstackProject/DAL/Models/Client.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
using System;
using System.Collections.Generic;

namespace DAL.Models;

public partial class Client
{
public int ClientId { get; set; }

public string FirstName { get; set; } = null!;

public string LastName { get; set; } = null!;

public string? Phone { get; set; }

public string? Email { get; set; }

public DateOnly BirthDate { get; set; }

public string Address { get; set; } = null!;

public virtual ICollection<ClinicQueue> ClinicQueues { get; set; } = new List<ClinicQueue>();


}
using System;
using System.Collections.Generic;
namespace DAL.Models;
public partial class Client
{
public int ClientId { get; set; }
public string FirstName { get; set; } = null!;
public string LastName { get; set; } = null!;
public string? Phone { get; set; }
public string? Email { get; set; }
public DateOnly BirthDate { get; set; }
public string Address { get; set; } = null!;
public virtual ICollection<AvailableQueue> AvailableQueues { get; set; } = new List<AvailableQueue>();
public virtual ICollection<ClinicQueue> ClinicQueues { get; set; } = new List<ClinicQueue>();
}
42 changes: 21 additions & 21 deletions fullstackProject/DAL/Models/ClinicQueue.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
using System;
using System.Collections.Generic;

namespace DAL.Models;

public partial class ClinicQueue
{
public int QueueId { get; set; }

public DateTime AppointmentDate { get; set; }

public int ClientId { get; set; }

public bool IsAvailable { get; set; }

public int DoctorId { get; set; }

public virtual Client Client { get; set; } = null!;

public virtual Doctor Doctor { get; set; } = null!;
}
using System;
using System.Collections.Generic;
namespace DAL.Models;
public partial class ClinicQueue
{
public int QueueId { get; set; }
public int ClientId { get; set; }
public bool IsAvailable { get; set; }
public int DoctorId { get; set; }
public DateTime AppointmentDate { get; set; }
public virtual Client Client { get; set; } = null!;
public virtual Doctor Doctor { get; set; } = null!;
}
Loading