Allineamento da prod
This commit is contained in:
18
StandManager.Domain/Entita/InvitoEvento.cs
Normal file
18
StandManager.Domain/Entita/InvitoEvento.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using StandManager.Domain.Entita.Base;
|
||||
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; }
|
||||
|
||||
[InverseProperty(nameof(IscrizioneEvento.InvitoEvento))]
|
||||
public List<IscrizioneEvento> IscrizioniEvento { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user