using Microsoft.EntityFrameworkCore.Metadata.Internal; using System; using System.Collections.Generic; using static MP.Data.MgModels.RecipeModel; #nullable disable // // This is here so CodeMaid doesn't reorganize this document // namespace MP.Data.DatabaseModels { public partial class RegistroScartiModel { #region Public Properties public string IdxMacchina { get; set; } = ""; public DateTime DataOra { get; set; } = DateTime.Now; public string Causale { get; set; } = ""; public string Operatore { get; set; } = ""; public int Qta { get; set; } = 0; public string Note { get; set; } = ""; public string CodArticolo { get; set; } = ""; public int MatrOpr { get; set; } = 0; public DateTime? DataOraProdRec { get; set; } = null; public bool KitSplit { get; set; } = false; public string Descrizione { get; set; } = ""; public string cssClass { get; set; } = ""; public string icona { get; set; } = ""; public string DescArticolo { get; set; } = ""; public string Tipo { get; set; } = ""; #endregion Public Properties public override bool Equals(object obj) { if (!(obj is RegistroScartiModel item)) return false; if (IdxMacchina != item.IdxMacchina) return false; if (DataOra != item.DataOra) return false; if (Causale != item.Causale) return false; return true; } public override int GetHashCode() { return base.GetHashCode(); } } }