Files
Core_Be/DTOs/TimeBankCard/TimeBankCardDto.cs
T
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

25 lines
1011 B
C#

namespace Fitness_core_BE.DTOs.TimeBankCard
{
public class TimeBankCardDto
{
public Guid TimeBankCardId { get; set; }
public string RfidTagId { get; set; } = string.Empty;
public Guid? CustomerId { get; set; }
public int TotalMinutesPurchased { get; set; }
public int MinutesRemaining { get; set; }
public decimal AmountPaid { get; set; }
public DateTime PurchasedAt { get; set; }
public DateTime? ExpiresAt { get; set; }
public bool IsActive { get; set; }
/// <summary>True right after a tap-in swipe (session open, clock running); false after
/// tap-out or when the card has no open session.</summary>
public bool SessionOpen { get; set; }
public DateTime? SessionStartedAt { get; set; }
public string? SessionFacilityName { get; set; }
/// <summary>Only populated in the response to a tap-out swipe.</summary>
public int? MinutesDeductedThisSwipe { get; set; }
}
}