Files
2025-12-17 08:55:21 +01:00

24 lines
627 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 RuoloReferente Ruolo { get; set; }
public string RuoloNote { get; set; }
}
public enum RuoloReferente
{
Ruolo1 = 0,
Ruolo2,
Ruolo3
}