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:
69
FoodsharingSiegen.Contracts/Enums/AuditType.cs
Normal file
69
FoodsharingSiegen.Contracts/Enums/AuditType.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
namespace FoodsharingSiegen.Contracts.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// The audit type enum
|
||||
/// </summary>
|
||||
public enum AuditType
|
||||
{
|
||||
/// <summary>
|
||||
/// The none audit type
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
// Profile
|
||||
/// <summary>
|
||||
/// The save profile audit type
|
||||
/// </summary>
|
||||
SaveProfile = 10,
|
||||
|
||||
|
||||
#region Usermanagement
|
||||
|
||||
/// <summary>
|
||||
/// The create user audit type
|
||||
/// </summary>
|
||||
CreateUser = 30,
|
||||
|
||||
/// <summary>
|
||||
/// The update user audit type
|
||||
/// </summary>
|
||||
UpdateUser = 40,
|
||||
|
||||
/// <summary>
|
||||
/// The remove user audit type
|
||||
/// </summary>
|
||||
RemoveUser = 50,
|
||||
|
||||
/// <summary>
|
||||
/// The set user password audit type
|
||||
/// </summary>
|
||||
SetUserPassword = 60,
|
||||
|
||||
#endregion Usermanagement
|
||||
|
||||
#region Prospects
|
||||
|
||||
// Prospect
|
||||
/// <summary>
|
||||
/// The create prospect audit type
|
||||
/// </summary>
|
||||
CreateProspect = 70,
|
||||
|
||||
/// <summary>
|
||||
/// The edit prospect audit type
|
||||
/// </summary>
|
||||
EditProspect = 80,
|
||||
|
||||
/// <summary>
|
||||
/// The add interaction audit type
|
||||
/// </summary>
|
||||
AddInteraction = 90,
|
||||
|
||||
/// <summary>
|
||||
/// The remove interaction audit type
|
||||
/// </summary>
|
||||
RemoveInteraction = 100
|
||||
|
||||
#endregion Prospects
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user