Files
StandManager/StandManager.Domain/Entita/Referente.cs
2025-12-01 15:49:52 +01:00

24 lines
609 B
C#

using StandManager.Domain.Entita.Base;
using System.ComponentModel.DataAnnotations.Schema;
namespace StandManager.Domain.Entita;
public class Referente : EntitaBase
{
[ForeignKey(nameof(Destinazione))]
public Guid? DestinazioneId { get; set; }
public Destinazione Destinazione { get; set; }
public string Nome { get; set; }
public string Cognome { get; set; }
public string Email { get; set; }
public string NumeroTelefono { get; set; }
public Ruolo Ruolo { get; set; }
public string RuoloNote { get; set; }
}
public enum Ruolo
{
Ruolo1 = 0,
Ruolo2,
Ruolo3
}