21 lines
766 B
C#
21 lines
766 B
C#
namespace NimbusFlow.Frontend.Models;
|
|
|
|
public class Member
|
|
{
|
|
public int MemberId { get; set; }
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
public string? Email { get; set; }
|
|
public string? PhoneNumber { get; set; }
|
|
public int? ClassificationId { get; set; }
|
|
public string? Notes { get; set; }
|
|
public int IsActive { get; set; } = 1;
|
|
public DateTime? LastScheduledAt { get; set; }
|
|
public DateTime? LastAcceptedAt { get; set; }
|
|
public DateTime? LastDeclinedAt { get; set; }
|
|
public int DeclineStreak { get; set; } = 0;
|
|
|
|
// Navigation properties
|
|
public string? ClassificationName { get; set; }
|
|
public string FullName => $"{FirstName} {LastName}";
|
|
} |