Servizi e cose
This commit is contained in:
24
StandManager.Domain/Entita/Referente.cs
Normal file
24
StandManager.Domain/Entita/Referente.cs
Normal file
@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user