practicekea_backend/microservices/_layers/domain/ViewModels/Logs.cs

28 lines
734 B
C#
Raw Permalink Normal View History

2024-12-02 13:24:34 +00:00
using System;
using System.Collections.Generic;
namespace OnlineAssessment.Domain.ViewModels
{
public class Logs
{
public List<ActivityLog> ActivityLogs { get; set; }
public List<UserLog> UserLogs { get; set; }
}
public class UserLog
{
//public int Id { get; set; }
//public int UserId { get; set; }
public DateTime login_date { get; set; }
public DateTime logout_date { get; set; }
public string login_from_ip { get; set; }
}
public class ActivityLog
{
public string Action { get; set; }
public string ItemType { get; set; }
public string Item { get; set; }
public DateTime? ActionDate { get; set; }
}
}