Files
fs-onboarding/FoodsharingSiegen.Contracts/Entity/Interaction.cs
Andre Beging bf64239625 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.
2025-04-01 10:41:09 +02:00

79 lines
2.0 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
using FoodsharingSiegen.Contracts.Enums;
namespace FoodsharingSiegen.Contracts.Entity
{
/// <summary>
/// The interaction class (a. beging, 21.05.2022)
/// </summary>
public class Interaction
{
#region Public Properties
/// <summary>
/// Gets or sets the value of the alert (ab)
/// </summary>
public bool Alert { get; set; }
/// <summary>
/// Gets or sets the value of the created (ab)
/// </summary>
public DateTime Created { get; set; }
/// <summary>
/// Gets or sets the value of the date (ab)
/// </summary>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the value of the id (ab)
/// </summary>
[Key] public Guid Id { get; set; }
/// <summary>
/// Gets or sets the value of the info (ab)
/// </summary>
public string? Info1 { get; set; }
/// <summary>
/// Gets or sets the value of the not needed (ab)
/// </summary>
public bool NotNeeded { get; set; }
/// <summary>
/// Gets or sets the value of the prospect (ab)
/// </summary>
public Prospect Prospect { get; set; }
/// <summary>
/// Gets or sets the value of the prospect id (ab)
/// </summary>
public Guid ProspectID { get; set; }
/// <summary>
/// Gets or sets the value of the type (ab)
/// </summary>
public InteractionType Type { get; set; }
/// <summary>
/// Gets or sets the value of the user (ab)
/// </summary>
public User User { get; set; }
/// <summary>
/// Gets or sets the value of the user id (ab)
/// </summary>
public Guid UserID { get; set; }
#endregion
}
}