using StandManager.Domain.Entita.Base;
using System.ComponentModel.DataAnnotations.Schema;

namespace StandManager.Domain.Entita;

public class IscrizioneEvento : EntitaBase
{
    [ForeignKey(nameof(Evento))]
    public Guid? EventoId { get; set; }
    public Evento Evento{ get; set; }

    [ForeignKey(nameof(Cliente))]
    public Guid? ClienteId { get; set; }
    public Cliente Cliente { get; set; }

    [ForeignKey(nameof(Destinazione))]
    public Guid? DestinazioneId { get; set; }
    public Destinazione Destinazione { get; set; }
    public int Partecipanti{ get; set; }
    public string Note{ get; set; }
    public string QrCodeCode{ get; set; }
    public bool ScanCompleto{ get; set; }
    public DateTime? DataScan{ get; set; }
}