using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable // // This is here so CodeMaid doesn't reorganize this document // 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; } = ""; /// /// Navigazione oggetto Machine /// [ForeignKey("IdxMacchina")] public virtual MacchineModel MachineNav { get; set; } = null!; /// /// Navigazione oggetto ODL /// [ForeignKey("IdxODL")] public virtual ODLModel OdlNav { get; set; } = null!; /// /// Navigazione oggetto Articolo /// [ForeignKey("CodArticolo")] public virtual AnagArticoliModel ArticoloNav { get; set; } = null!; #endregion Public Properties } }