26 lines
864 B
C#
26 lines
864 B
C#
namespace Fitness_core_BE.DTOs.Facility
|
|
{
|
|
public class FacilityDto
|
|
{
|
|
public Guid FacilityId { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string FacilityType { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public int DefaultCapacity { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
|
|
public class FacilitySessionDto
|
|
{
|
|
public Guid FacilitySessionId { get; set; }
|
|
public Guid FacilityId { get; set; }
|
|
public string? FacilityName { get; set; }
|
|
public DateTime StartTime { get; set; }
|
|
public DateTime EndTime { get; set; }
|
|
public int Capacity { get; set; }
|
|
public int BookedCount { get; set; }
|
|
public bool IsCancelled { get; set; }
|
|
}
|
|
}
|