30 lines
1.0 KiB
C#
30 lines
1.0 KiB
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("RegistroRichieste")]
|
|
public partial class RegRichiesteModel
|
|
{
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int IdxRegRich { get; set; }
|
|
public int IdxDipendente { get; set; }
|
|
public string CodGiust { get; set; } = "";
|
|
public DateTime DtStart { get; set; } = DateTime.Today.AddHours(9);
|
|
public DateTime DtEnd { get; set; } = DateTime.Today.AddHours(17);
|
|
public string Note { get; set; } = "";
|
|
public bool Conf { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Navigation property to Dipendente
|
|
/// </summary>
|
|
[ForeignKey("IdxDipendente")]
|
|
public virtual DipendentiModel? DipNav { get; set; }
|
|
}
|
|
}
|