using System.ComponentModel.DataAnnotations;
namespace FoodsharingSiegen.Contracts.Entity
{
///
/// The audit class (a. beging, 23.05.2022)
///
public class Audit
{
#region Public Properties
///
/// Gets or sets the value of the created (ab)
///
public DateTime Created { get; set; }
///
/// Gets or sets the value of the data 1 (ab)
///
public string? Data1 { get; set; }
///
/// Gets or sets the value of the data 2 (ab)
///
public string? Data2 { get; set; }
///
/// Gets or sets the value of the id (ab)
///
[Key] public Guid Id { get; set; }
///
/// Gets or sets the value of the type (ab)
///
public AuditType 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
}
}