using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagMan.Data.Tenant.DbModels { /// /// Tabella delle singole istanze prodotte /// [Table("PartList")] public class PartModel { [Key, Column("DbId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int PartDbId { get; set; } /// /// Id geometrico Barra Lavorata /// [Column("PartId")] public int PartId { get; set; } /// /// MachGroup di appartenenza /// [Column("MachGroupId")] public int MachGroupId { get; set; } = 0; /// /// Proj di appartenenza /// public int ProjDbId { get; set; } /// /// Data Start /// [Column("DtStart")] public DateTime DtStart { get; set; } /// /// Data End /// [Column("DtEnd")] public DateTime DtEnd { get; set; } #if false [ForeignKey("MachGroupId")] public virtual MachGroupModel MachGroupNav { get; set; } #endif } }