Allow Prospect Warnings
This commit is contained in:
@@ -3,49 +3,55 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace FoodsharingSiegen.Contracts.Entity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The prospect class (a. beging, 21.05.2022)
|
||||
/// The prospect class (a. beging, 21.05.2022)
|
||||
/// </summary>
|
||||
public class Prospect
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value of the complete (ab)
|
||||
/// Gets the value of the complete (ab)
|
||||
/// </summary>
|
||||
[NotMapped] public bool Complete => Interactions.Any(x => x.Type == InteractionType.Complete);
|
||||
[NotMapped]
|
||||
public bool Complete => Interactions.Any(x => x.Type == InteractionType.Complete);
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the created (ab)
|
||||
/// Gets or sets the value of the created (ab)
|
||||
/// </summary>
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the fs id (ab)
|
||||
/// Gets or sets the value of the fs id (ab)
|
||||
/// </summary>
|
||||
public int FsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the id (ab)
|
||||
/// Gets or sets the value of the id (ab)
|
||||
/// </summary>
|
||||
[Key] public Guid Id { get; set; }
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the interactions (ab)
|
||||
/// Gets or sets the value of the interactions (ab)
|
||||
/// </summary>
|
||||
public IList<Interaction> Interactions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the memo (ab)
|
||||
/// Gets or sets the value of the memo (ab)
|
||||
/// </summary>
|
||||
public string? Memo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the name (ab)
|
||||
/// Gets or sets the value of the name (ab)
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the warning (ab)
|
||||
/// </summary>
|
||||
public bool Warning { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user