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:
23
FoodsharingSiegen.Contracts/Enums/UserType.cs
Normal file
23
FoodsharingSiegen.Contracts/Enums/UserType.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace FoodsharingSiegen.Contracts.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// The user type enum
|
||||
/// </summary>
|
||||
public enum UserType
|
||||
{
|
||||
/// <summary>
|
||||
/// The unverified user type
|
||||
/// </summary>
|
||||
Unverified = 100,
|
||||
|
||||
/// <summary>
|
||||
/// The user user type
|
||||
/// </summary>
|
||||
User = 200,
|
||||
|
||||
/// <summary>
|
||||
/// The admin user type
|
||||
/// </summary>
|
||||
Admin = 300
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user