using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable // // This is here so CodeMaid doesn't reorganize this document // namespace MP.Data.DatabaseModels { [Table("ST_ActualRows")] public partial class ST_ActRow { public int IdxST { get; set; } public string Label { get; set; } = ""; public int Oggetto { get; set; } = 0; public int Num { get; set; } = 0; public string CodGruppo { get; set; } = ""; public string CodTipo { get; set; } = ""; public string Value { get; set; } = ""; public string CheckType { get; set; } = ""; public bool Required { get; set; } = false; public string ExtCode { get; set; } = ""; public string ValueRead { get; set; } = ""; public string Note { get; set; } = ""; [NotMapped] public bool ShowMissingData { get => Required && (Value != ExtCode); } [NotMapped] public bool ShowCheckedData { get => Required && (Value == ExtCode); } } }