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}";
}
}

View File

@ -0,0 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<SupportedPlatform Include="browser"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.21"/>
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\background.png" />
<_ContentIncludedByDefault Remove="wwwroot\exampleJsInterop.js" />
</ItemGroup>
<ItemGroup>
<Reference Include="OAService.Domain">
<HintPath>..\Libs\OAService.Domain.dll</HintPath>
</Reference>
</ItemGroup>
</Project>