Add RecordState handling for prospects and support soft deletion
Introduced the RecordState property to manage the state of prospects, enabling soft deletion and restoration. Updated related database migrations, UI interactions, and filtering logic to accommodate this addition. Also included automatic database migration at runtime to ensure schema compatibility.
This commit is contained in:
@@ -47,6 +47,11 @@ namespace FoodsharingSiegen.Contracts.Entity
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the state of the record within the system.
|
||||
/// </summary>
|
||||
public RecordState RecordState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the warning (ab)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user