using WorkClub.Domain.Interfaces;

namespace WorkClub.Domain.Entities;

public class Shift : ITenantEntity
{
    public required Guid Id { get; set; }
    public required string TenantId { get; set; }
    public required string Title { get; set; }
    public string? Description { get; set; }
    public string? Location { get; set; }
    public required DateTimeOffset StartTime { get; set; }
    public required DateTimeOffset EndTime { get; set; }
    public int Capacity { get; set; } = 1;
    public required Guid ClubId { get; set; }
    public required Guid CreatedById { get; set; }
    public required DateTimeOffset CreatedAt { get; set; }
    public required DateTimeOffset UpdatedAt { get; set; }
    public uint RowVersion { get; set; }
}
