Servizi e cose

This commit is contained in:
2025-12-01 15:49:52 +01:00
parent 319e348911
commit 7eaa96281c
26 changed files with 1560 additions and 11 deletions

View File

@ -0,0 +1,23 @@
using StandManager.Domain.Entita.Base;
using System.ComponentModel.DataAnnotations.Schema;
namespace StandManager.Domain.Entita;
public class Cliente : EntitaBase
{
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(Destinazione.Cliente))]
public List<Destinazione> Destinazioni { get; set; }
}