using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class OperationRecord
    {
        public DateTime Timestamp { get; set; }
        public OperationType OperationType { get; set; }
        public string ControlName { get; set; }
        public object OldValue { get; set; }
        public object NewValue { get; set; }
        public string Detail { get; set; }
        public User User { get; set; }
    }

    public class OperationRecordDisplay
    {
        public int Id { get; set; }
        public int RowNumber { get; set; }
        public DateTime Timestamp { get; set; }
        public string OperationType { get; set; }
        public string ControlName { get; set; }
        public string OldValue { get; set; }
        public string NewValue { get; set; }
        public string Detail { get; set; }
        public string Username { get; set; }
    }
}
