Files

37 lines
1.3 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DbModels
{
[Table("ElencoUdc")]
public class AnagUdcModel
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public string UDC { get; set; } = "";
public string Lotto { get; set; } = "";
public string CodCliente { get; set; } = "";
public string CodPost { get; set; } = "";
public DateTime DtRec { get; set; }
public decimal Qta { get; set; } = 0;
public int NumCont { get; set; } = 0;
public string CodSoggetto { get; set; } = "";
public decimal PesoTot { get; set; } = 0;
public decimal PesoCad { get; set; } = 0;
public decimal Tara { get; set; } = 0;
public string CodImballo { get; set; } = "";
public int IdxPosizione { get; set; } = 0;
public DateTime DtMod { get; set; }
public string Note { get; set; } = "";
/// <summary>
/// Navigazione oggetto lotto
/// </summary>
[ForeignKey("Lotto")]
public virtual AnagLottoModel lottoNav { get; set; } = null!;
}
}