using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ApiPolo.Models { /// /// Contiene i campi di MAG_NEW /// public class Mag_New { /// [Key] public string? seriale_rapportino { get; set; } /// [Key] public int? riga { get; set; } /// public string? magazzino { get; set; } /// public string? articolo { get; set; } /// public string? tipo_movimento { get; set; } /// [Column(TypeName = "decimal(8, 3)")] public decimal? quantita { get; set; } /// [Column(TypeName = "decimal(10, 2)")] public decimal? prezzo { get; set; } /// public string? codice_tecnico { get; set; } /// public string? generato { get; set; } /// public string? codlotto { get; set; } /// public string? matricola { get; set; } /// descrizione articolo public string? desc_art { get; set; } /// riga impianto public int? cprownum { get; set; } /// codice impianto public string? codimp { get; set; } /// note public string? note { get; set; } /// cpccchk public string? cpccchk { get; set; } /// descrizione per ogni articolo (se abilitata da configurazioni) public string? desc_sup { get; set; } } }