Iscrizione
This commit is contained in:
@ -3,11 +3,26 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace StandManager.Domain.Entita;
|
||||
|
||||
public class InvitoEvento : 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; }
|
||||
}
|
||||
|
||||
public class IscrizioneEvento : EntitaBase
|
||||
{
|
||||
[ForeignKey(nameof(Evento))]
|
||||
public Guid? EventoId { get; set; }
|
||||
public Evento Evento{ get; set; }
|
||||
|
||||
[ForeignKey(nameof(InvitoEvento))]
|
||||
public Guid? InvitoEventoId { get; set; }
|
||||
public InvitoEvento InvitoEvento { get; set; }
|
||||
|
||||
[ForeignKey(nameof(Cliente))]
|
||||
public Guid? ClienteId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user