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:
48
FoodsharingSiegen.Contracts/Enums/InteractionType.cs
Normal file
48
FoodsharingSiegen.Contracts/Enums/InteractionType.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
namespace FoodsharingSiegen.Contracts.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// The interaction type enum
|
||||
/// </summary>
|
||||
public enum InteractionType
|
||||
{
|
||||
/// <summary>
|
||||
/// The ein ab interaction type
|
||||
/// </summary>
|
||||
EinAb = 10,
|
||||
|
||||
/// <summary>
|
||||
/// The welcome interaction type
|
||||
/// </summary>
|
||||
Welcome = 20,
|
||||
|
||||
/// <summary>
|
||||
/// The id check interaction type
|
||||
/// </summary>
|
||||
IdCheck = 30,
|
||||
|
||||
/// <summary>
|
||||
/// The print pass interaction type
|
||||
/// </summary>
|
||||
PrintPass = 40,
|
||||
|
||||
/// <summary>
|
||||
/// The verify interaction type
|
||||
/// </summary>
|
||||
Verify = 60,
|
||||
|
||||
/// <summary>
|
||||
/// The complete interaction type
|
||||
/// </summary>
|
||||
Complete = 70,
|
||||
|
||||
/// <summary>
|
||||
/// The StepInBriefing interaction type
|
||||
/// </summary>
|
||||
StepInBriefing = 80,
|
||||
|
||||
/// <summary>
|
||||
/// The StepInBriefing interaction type
|
||||
/// </summary>
|
||||
ReleasedForVerification = 90
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user