Servizi e cose
This commit is contained in:
26
StandManager.Domain/Entita/Destinazione.cs
Normal file
26
StandManager.Domain/Entita/Destinazione.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using StandManager.Domain.Entita.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace StandManager.Domain.Entita;
|
||||
|
||||
public class Destinazione : EntitaBase
|
||||
{
|
||||
[ForeignKey(nameof(Cliente))]
|
||||
public Guid? Clienteid { get; set; }
|
||||
public Cliente Cliente { get; set; }
|
||||
public string RagioneSociale { get; set; }
|
||||
public string PartitaIva { get; set; }
|
||||
public string Cap { get; set; }
|
||||
public string Citta { get; set; }
|
||||
public string Indirizzo { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string EmailInvito { get; set; }
|
||||
public string NumeroTelefono { get; set; }
|
||||
|
||||
[ForeignKey(nameof(Agente))]
|
||||
public Guid? AgenteId { get; set; }
|
||||
public Utente Agente { get; set; }
|
||||
|
||||
[InverseProperty(nameof(Referente.Destinazione))]
|
||||
public List<Referente> Referenti { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user