using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FSI.BT.IR.Plc.Settings.Log.Models
{
    public class Logging
    {
        [Key]
        public int Id { get; set; }

        public Parameter Parameter { get; set; }

        [ForeignKey(nameof(Parameter.Id))]
        public int ParameterId { get; set; }

        public string Value { get; set; }

        public DateTime Timestamp { get; set; } = DateTime.Now;
    }
}
