Refactor enums and update Interaction entity field

Moved enums to a dedicated namespace and updated references across the codebase. Renamed the `Info` field in the `Interaction` entity to `Info1`, including necessary migrations and UI adjustments. These changes improve the organization and consistency of the codebase.
This commit is contained in:
Andre Beging
2025-04-01 10:41:09 +02:00
parent 8595a18d0c
commit bf64239625
43 changed files with 509 additions and 231 deletions

View File

@@ -1,4 +1,5 @@
@using FoodsharingSiegen.Contracts.Entity
@using FoodsharingSiegen.Contracts.Enums
@using FoodsharingSiegen.Shared.Helper
@inherits FsBase
@@ -30,9 +31,9 @@
}
</div>
@if (!string.IsNullOrWhiteSpace(interaction.Info))
@if (!string.IsNullOrWhiteSpace(interaction.Info1))
{
<span>(<i>@interaction.Info</i>)</span>
<span>(<i>@interaction.Info1</i>)</span>
}
</div>
}

View File

@@ -1,4 +1,5 @@
using FoodsharingSiegen.Contracts.Entity;
using FoodsharingSiegen.Contracts.Enums;
using FoodsharingSiegen.Server.BaseClasses;
using Microsoft.AspNetCore.Components;

View File

@@ -1,4 +1,5 @@
@using FoodsharingSiegen.Shared.Helper
@using FoodsharingSiegen.Contracts.Enums
@using FoodsharingSiegen.Shared.Helper
@inherits FsBase
@{

View File

@@ -1,4 +1,5 @@
using FoodsharingSiegen.Contracts.Entity;
using FoodsharingSiegen.Contracts.Enums;
using FoodsharingSiegen.Server.Data.Service;
using FoodsharingSiegen.Server.Dialogs;
using FoodsharingSiegen.Shared.Helper;

View File

@@ -1,4 +1,5 @@
@using FoodsharingSiegen.Contracts.Model
@using FoodsharingSiegen.Contracts.Enums
@using FoodsharingSiegen.Contracts.Model
@inherits FsBase
@code {

View File

@@ -1,4 +1,5 @@
@code {
@using FoodsharingSiegen.Contracts.Enums
@code {
[Parameter] public List<Prospect>? Prospects { get; set; }