Files
2024-01-15 14:47:13 +01:00

60 lines
1.5 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 AuthKeyID { get; set; }
/// <summary>
/// Ext ref Customers
/// </summary>
public int CustomerID { get; set; } = 0;
/// <summary>
/// Numero chiave
/// </summary>
public int KeyNum { get; set; } = 0;
/// <summary>
/// Nome
/// </summary>
public string KeyValue { get; set; } = "";
/// <summary>
/// Note/Descrizione
/// </summary>
public string Note { get; set; } = "";
/// <summary>
/// Check attivo
/// </summary>
public bool IsActive { get; set; } = false;
/// <summary>
/// DateTime Attivazione
/// </summary>
public DateTime DtActivation { get; set; } = DateTime.Today;
/// <summary>
/// Navigation property to Customer
/// </summary>
[ForeignKey("CustomerID")]
public virtual CustomerModel CustomerNav { get; set; } = null!;
}
}