EOS/Models/AuditLog/AuditModel.cs
Nidhi Bhargava f0c1ab20e1 code push
2025-09-04 16:25:07 +05:30

126 lines
3.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace GODATA.Models.AuditLog
{
/// <summary>
/// This class contain audit properties
/// </summary>
public class AuditModel
{
/// <summary>
/// Get or set session id
/// </summary>
[Display(Name = "Session Id")]
public string SessionID { get; set; }
/// <summary>
/// Get or set audit id
/// </summary>
[Display(Name = "Audit Id")]
public Guid AuditID { get; set; }
/// <summary>
/// Get or set ip address
/// </summary>
[Display(Name = "IP-Address")]
public string IPAddress { get; set; }
/// <summary>
/// Get or set user name
/// </summary>
[Display(Name = "User Name")]
public string UserName { get; set; }
/// <summary>
/// Get or set url
/// </summary>
[Display(Name = "Url Accessed")]
public string URLAccessed { get; set; }
/// <summary>
/// Get or set time accesssed
/// </summary>
[Display(Name = "Time Accessed")]
public DateTime TimeAccessed { get; set; }
/// <summary>
/// Get or set data
/// </summary>
[Display(Name = "Data")]
public string Data { get; set; }
/// <summary>
/// Get or set controller name
/// </summary>
[Display(Name = "Controller Name")]
public string ControllerName { get; set; }
/// <summary>
/// Get or set method name
/// </summary>
[Display(Name = "Method Name")]
public string MethodName { get; set; }
/// <summary>
/// Get or set input parameters
/// </summary>
[Display(Name = "Input Parameters")]
public string InputParameters { get; set; }
public AuditModel()
{
}
}
///// <summary>
///// This class contains Get Audit Details property
///// </summary>
//public class GetAuditModule
//{
// /// <summary>
// /// Get or set user name
// /// </summary>
// [Display(Name = "User Name")]
// public string UserName { get; set; }
// /// <summary>
// /// Get or set ip address
// /// </summary>
// [Display(Name = "IP-Address")]
// public string IPAddress { get; set; }
// /// <summary>
// /// Get or set url
// /// </summary>
// [Display(Name = "Url Accessed")]
// public string URLAccessed { get; set; }
// /// <summary>
// /// Get or set time accesssed
// /// </summary>
// [Display(Name = "Time Accessed")]
// public DateTime TimeAccessed { get; set; }
// /// Get or set controller name
// /// </summary>
// [Display(Name = "Controller Name")]
// public string ControllerName { get; set; }
// /// <summary>
// /// Get or set method name
// /// </summary>
// [Display(Name = "Method Name")]
// public string MethodName { get; set; }
// /// <summary>
// /// Get or set input parameters
// /// </summary>
// [Display(Name = "Input Parameters")]
// public string InputParameters { get; set; }
//}
}