28 lines
734 B
C#
28 lines
734 B
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|