50 lines
1.3 KiB
C#
50 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;
|
|
|
|
namespace MagMan.Data.Admin.DbModels
|
|
{
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
[Table("AuthKeyList")]
|
|
public partial class AuthKeyModel
|
|
{
|
|
/// <summary>
|
|
/// Primary Key AUTO
|
|
/// </summary>
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int MachineID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ext ref Customers
|
|
/// </summary>
|
|
public int CustomerID { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Nome
|
|
/// </summary>
|
|
public string KeyName { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Nome
|
|
/// </summary>
|
|
public string KeyValue { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Note/Descrizione
|
|
/// </summary>
|
|
public string Note { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Navigation property to Customer
|
|
/// </summary>
|
|
[ForeignKey("CustomerID")]
|
|
public virtual CustomerModel CustomerNav { get; set; } = null!;
|
|
}
|
|
}
|