Inizio creazione modelli dati + migrazione iniziale
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace GPW.CORE.Data.DbModels
|
||||
{
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
[Table("CheckVc19")]
|
||||
public partial class CheckVc19Model
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int IdxCheckVc19 { get; set; }
|
||||
public DateTime DtCheck { get; set; } = DateTime.Now;
|
||||
public int IdxDipendente { get; set; }
|
||||
public string Cognome { get; set; } = null!;
|
||||
public string Nome { get; set; } = null!;
|
||||
public DateTime Dob { get; set; }
|
||||
public string Payload { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Navigation property to Dipendente
|
||||
/// </summary>
|
||||
[ForeignKey("IdxDipendente")]
|
||||
public virtual Dipendenti? DipNav { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user