29 lines
640 B
C#
29 lines
640 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FSI.BT.IR.Plc.Settings.Log.Models
|
|
{
|
|
public class Plc
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public string IpAdress { get; set; }
|
|
|
|
public int Rack { get; set; }
|
|
|
|
public int Slot { get; set; }
|
|
|
|
public DateTime Created { get; set; } = DateTime.Now;
|
|
|
|
public DateTime Updated { get; set; } = DateTime.Now;
|
|
}
|
|
}
|