57 lines
1.5 KiB
C#
57 lines
1.5 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
#nullable disable
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace MP.Data.DbModels
|
|
{
|
|
[Table("Dossiers")]
|
|
public partial class DossierModel
|
|
{
|
|
#region Public Properties
|
|
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int IdxDossier { get; set; }
|
|
|
|
[MaxLength(50)]
|
|
public string DataType { get; set; }
|
|
|
|
public DateTime DtRif { get; set; }
|
|
|
|
[MaxLength(50)]
|
|
public string IdxMacchina { get; set; } = "";
|
|
[MaxLength(50)]
|
|
public string CodArticolo { get; set; } = "";
|
|
|
|
public int IdxODL { get; set; } = 0;
|
|
|
|
public string Valore { get; set; } = "";
|
|
|
|
[MaxLength(50)]
|
|
public string KeyRichiesta { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Navigazione oggetto Machine
|
|
/// </summary>
|
|
[ForeignKey("IdxMacchina")]
|
|
public virtual MacchineModel MachineNav { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// Navigazione oggetto ODL
|
|
/// </summary>
|
|
[ForeignKey("IdxODL")]
|
|
public virtual ODLModel OdlNav { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// Navigazione oggetto Articolo
|
|
/// </summary>
|
|
[ForeignKey("CodArticolo")]
|
|
public virtual AnagArticoliModel ArticoloNav { get; set; } = null!;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |