using WorkClub.Domain.Enums;
using WorkClub.Domain.Interfaces;

namespace WorkClub.Domain.Entities;

public class Member : ITenantEntity
{
    public required Guid Id { get; set; }
    public required string TenantId { get; set; }
    public required string ExternalUserId { get; set; }
    public required string DisplayName { get; set; }
    public required string Email { get; set; }
    public required ClubRole Role { get; set; }
    public required Guid ClubId { get; set; }
    public required DateTimeOffset CreatedAt { get; set; }
    public required DateTimeOffset UpdatedAt { get; set; }
}
