38 lines
1.4 KiB
C#
38 lines
1.4 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
namespace ApiPolo.Models
|
|
{
|
|
public class Articoli
|
|
{
|
|
[Key]
|
|
public string Azienda { get; set; }
|
|
[Key]
|
|
public string SlCodice { get; set; }
|
|
public string? ArDesArt { get; set; }
|
|
public string? SlCodMag { get; set; }
|
|
[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; }
|
|
[Column(TypeName = "decimal(18,5)")]
|
|
public decimal? LiPrezzo { get; set; }
|
|
[Column(TypeName = "decimal(6,2)")]
|
|
public decimal? LiScont1 { get; set; }
|
|
[Column(TypeName = "decimal(6,2)")]
|
|
public decimal? LiScont2 { get; set; }
|
|
[Column(TypeName = "decimal(6,2)")]
|
|
public decimal? LiScont3 { get; set; }
|
|
[Column(TypeName = "decimal(6,2)")]
|
|
public decimal? LiScont4 { get; set; }
|
|
public string? Gest_Matr { get; set; }
|
|
public string? Gest_Lotti { get; set; }
|
|
public string? Desc_sup { get; set; }
|
|
public DateTime? DataObso { get; set; }
|
|
}
|
|
}
|