24 lines
609 B
C#
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
|
|
} |