first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class ActivityLog
|
||||
{
|
||||
[Key]
|
||||
public Guid ActivityLogId { get; set; }
|
||||
public Guid FKUserId { get; set; }
|
||||
[ForeignKey("FKUserId")]
|
||||
public virtual User User { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public bool IsAdmin { get; set; }
|
||||
public string Description { get; set; }
|
||||
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user