Files
mapo-core/MP.Data/DatabaseModels/AnagUdcModel.cs
T
2022-11-23 12:23:14 +01:00

41 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace MP.Data.DatabaseModels
{
[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!;
}
}