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