30 lines
841 B
C#
30 lines
841 B
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, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int DoorOpTypId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Codice univoco dell'operazione da svolgere (calcolato, idealmente 4 char da 36 val 0..Z)
|
|
/// </summary>
|
|
public string OpCode { get; set; } = "";
|
|
}
|
|
}
|