Aggiunti metodi x tabelle UDC e lotti
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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 AnagUDC
|
||||
{
|
||||
[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 lottoModel lottoNav { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
|
||||
namespace MP.Data.DatabaseModels
|
||||
{
|
||||
[Table("ElencoLotti")]
|
||||
public class lottoModel
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public string Lotto { get; set; }
|
||||
public int IdxODL { get; set; }
|
||||
public string RifExt { get; set; }
|
||||
public string TipoLotto { get; set; }
|
||||
public string CodArt { get; set; }
|
||||
public string CodStato { get; set; }
|
||||
public string Origine { get; set; }
|
||||
public DateTime DtCrea { get; set; }
|
||||
public string Note { get; set; }
|
||||
public decimal QtaOrig { get; set; }
|
||||
public int NumUdc { get; set; }
|
||||
public decimal QtaCurr { get; set; }
|
||||
public DateTime DtMod { get; set; }
|
||||
public bool Attivo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user