using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace WebDoorCreator.Data.DbModels
{
///
/// Tabella dati Hardware
///
[Table("Hardware")]
public class HardwareModel
{
[Key]
public int HardwareId { get; set; }
///
/// Nome del componente che verrà scritto nel file DDF
///
public string compoName { get; set; } = "";
///
/// Nome del componente che verrà visualizzato a schermo (pescato dal file di sinonimi)
///
public string compoAlias { get; set; } = "";
///
/// Nome del layer legato al componente
///
public string compoLayerName { get; set; } = "";
///
/// Indica se il il componente deve risultare utilizzabile dal cliente
///
public bool compoTemplateIsActive { get; set; } = true;
}
}