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:
28
FoodsharingSiegen.Contracts/Enums/UserGroup.cs
Normal file
28
FoodsharingSiegen.Contracts/Enums/UserGroup.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace FoodsharingSiegen.Contracts.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// The user group enum
|
||||
/// </summary>
|
||||
public enum UserGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// The read only user group
|
||||
/// </summary>
|
||||
ReadOnly = 100,
|
||||
|
||||
/// <summary>
|
||||
/// The welcome team user group
|
||||
/// </summary>
|
||||
WelcomeTeam = 200,
|
||||
|
||||
/// <summary>
|
||||
/// The store manager user group
|
||||
/// </summary>
|
||||
StoreManager = 300,
|
||||
|
||||
/// <summary>
|
||||
/// The ambassador user group
|
||||
/// </summary>
|
||||
Ambassador = 400
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user