25 lines
828 B
C#
25 lines
828 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using StandManager.Domain.Entita.Base;
|
|
|
|
namespace StandManager.Domain.Entita;
|
|
|
|
public class Evento : EntitaBase
|
|
{
|
|
public string Titolo { get; set; }
|
|
public string Descrizione { get; set; }
|
|
public string Luogo { get; set; }
|
|
public string TemplateHtmlMailInvito { get; set; }
|
|
public string TemplateHtmlMailIscrizione { get; set; }
|
|
public DateTime DataDa { get; set; }
|
|
public DateTime DataA { get; set; }
|
|
|
|
public DateTime IscrizioneDa { get; set; }
|
|
public DateTime IscrizioneA { get; set; }
|
|
|
|
[InverseProperty(nameof(InvitoEvento.Evento))]
|
|
public List<InvitoEvento> InvitoEventoList { get; set; }
|
|
|
|
[InverseProperty(nameof(IscrizioneEvento.Evento))]
|
|
public List<IscrizioneEvento> IscrizioneEventoList { get; set; }
|
|
}
|