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