42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
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;
|
|
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace WebDoorCreator.Data.DbModels
|
|
{
|
|
/// <summary>
|
|
/// Tabella dati Hardware
|
|
/// </summary>
|
|
[Table("Hardware")]
|
|
public class HardwareModel
|
|
{
|
|
[Key]
|
|
public int HardwareId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Nome del componente che verrà scritto nel file DDF
|
|
/// </summary>
|
|
public string compoName { get; set; } = "";
|
|
/// <summary>
|
|
/// Nome del componente che verrà visualizzato a schermo (pescato dal file di sinonimi)
|
|
/// </summary>
|
|
public string compoAlias { get; set; } = "";
|
|
/// <summary>
|
|
/// Nome del layer legato al componente
|
|
/// </summary>
|
|
public string compoLayerName { get; set; } = "";
|
|
/// <summary>
|
|
/// Indica se il il componente deve risultare utilizzabile dal cliente
|
|
/// </summary>
|
|
public bool compoTemplateIsActive { get; set; } = true;
|
|
}
|
|
}
|