29 lines
949 B
C#
29 lines
949 B
C#
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("RegistroMalattie")]
|
|
public partial class RegMalattieModel
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int IdxRegMal { get; set; }
|
|
public int IdxDipendente { get; set; }
|
|
public DateTime DtInizio { get; set; } = DateTime.Today;
|
|
public int NumGG { get; set; } = 1;
|
|
public string CodCert { get; set; } = "";
|
|
public bool Conf { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Navigation property to Dipendente
|
|
/// </summary>
|
|
[ForeignKey("IdxDipendente")]
|
|
public virtual DipendentiModel DipNav { get; set; } = null!;
|
|
}
|
|
}
|