Files
Core_Be/Models/ActivityLog.cs
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

19 lines
563 B
C#

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;
}
}