This commit is contained in:
2025-12-01 09:56:00 +01:00
commit b1bd4f01b6
2237 changed files with 2624728 additions and 0 deletions

View File

@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations.Schema;
using OAService.Domain.Entita;
namespace StandManager.Domain.Entita.Base;
public class EntitaBase : BaseEntity
{
[ForeignKey(nameof(UtenteCreazione))]
public override Guid? IdUtenteCreazione { get; set; }
public virtual Utente? UtenteCreazione { get; set; }
[ForeignKey(nameof(UtenteModifica))]
public override Guid? IdUtenteModifica { get; set; }
public virtual Utente? UtenteModifica { get; set; }
}

View File

@ -0,0 +1,16 @@
using StandManager.Domain.Entita.Base;
namespace StandManager.Domain.Entita;
public class Utente : EntitaBase
{
public string Username { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string Nome { get; set; }
public string Cognome { get; set; }
public override string ToString()
{
return $"{Nome} {Cognome}";
}
}