using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace VirtualTask.Models { public class Articoli { [Display(Name = "Azienda")] public string Azienda { get; set; } [Display(Name = "Cod. Articolo")] public string SlCodice { get; set; } [Display(Name = "Descrizione")] public string? ArDesArt { get; set; } [Display(Name = "Magazzino")] public string? SlCodMag { get; set; } [Display(Name = "Quantità")] [Column(TypeName = "decimal(13,3)")] public decimal? SlQtAper { get; set; } public string? AmCodice { get; set; } public string? LoCodice { get; set; } public string? LiCodLis { get; set; } public string? LiCodArt { get; set; } public DateTime? LiDatAtt { get; set; } [Column(TypeName = "decimal(12,3)")] public decimal? LiQuanti { get; set; } [Display(Name = "Prezzo")] [Column(TypeName = "decimal(18,5)")] public decimal? LiPrezzo { get; set; } [Display(Name = "Sconto 1")] [Column(TypeName = "decimal(6,2)")] public decimal? LiScont1 { get; set; } [Display(Name = "Sconto 2")] [Column(TypeName = "decimal(6,2)")] public decimal? LiScont2 { get; set; } [Display(Name = "Sconto 3")] [Column(TypeName = "decimal(6,2)")] public decimal? LiScont3 { get; set; } [Display(Name = "Sconto 4")] [Column(TypeName = "decimal(6,2)")] public decimal? LiScont4 { get; set; } [Display(Name = "Gestione matricole")] public string? Gest_Matr { get; set; } [Display(Name = "Gestione Lotti")] public string? Gest_Lotti { get; set; } [Display(Name = "Descrizione suppl.")] public string? Desc_sup { get; set; } public DateTime? DataObso { get; set; } } }