using System.ComponentModel.DataAnnotations; using FoodsharingSiegen.Contracts.Enums; namespace FoodsharingSiegen.Contracts.Entity { /// /// The interaction class (a. beging, 21.05.2022) /// public class Interaction { #region Public Properties /// /// Gets or sets the value of the alert (ab) /// public bool Alert { get; set; } /// /// Gets or sets the value of the created (ab) /// public DateTime Created { get; set; } /// /// Gets or sets the value of the date (ab) /// public DateTime Date { get; set; } /// /// Gets or sets the feedback associated with the interaction. /// public InteractionFeedback Feedback { get; set; } = InteractionFeedback.Neutral; /// /// Gets or sets additional information related to feedback for the interaction. /// public string? FeedbackInfo { get; set; } /// /// Gets or sets the value of the id (ab) /// [Key] public Guid Id { get; set; } /// /// Gets or sets additional information associated with the interaction. /// public string? Info1 { get; set; } /// /// Gets or sets the additional information (Info2) associated with the interaction. /// public string? Info2 { get; set; } /// /// Gets or sets the value of the not needed (ab) /// public bool NotNeeded { get; set; } /// /// Gets or sets the value of the prospect (ab) /// public Prospect Prospect { get; set; } /// /// Gets or sets the value of the prospect id (ab) /// public Guid ProspectID { get; set; } /// /// Gets or sets the value of the type (ab) /// public InteractionType Type { get; set; } /// /// Gets or sets the value of the user (ab) /// public User User { get; set; } /// /// Gets or sets the value of the user id (ab) /// public Guid UserID { get; set; } #endregion } }