using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using static WebDoorCreator.Core.Enum; // // This is here so CodeMaid doesn't reorganize this document // namespace WebDoorCreator.Data.DbModels { public class PrtRepOrderModel { public int OrderId { get; set; } /// /// Company cui è associato l'ordine /// public int CompanyId { get; set; } /// /// Codice esterno x riferimento (es ERP) /// public string OrderExtCode { get; set; } = ""; /// /// Data inserimento ordine /// public DateTime DateIns { get; set; } = DateTime.Now; /// /// Codice utente che ha creato /// public string UserIdIns { get; set; } = ""; /// /// Data (ultima) modifica ordine /// public DateTime DateMod { get; set; } = DateTime.Now; /// /// Codice utente che ha creato /// public string UserIdMod { get; set; } = ""; /// /// Stato globale dell'ordine /// public int Status { get; set; } = 10; /// /// Descrizione /// public string OrderDescript { get; set; } = ""; /// /// Codice esterno x riferimento (es ERP) /// public string CompanyExtCode { get; set; } = ""; /// /// Nome / ragione Sociale /// public string CompanyName { get; set; } = ""; /// /// indirizzo /// public string Address { get; set; } = ""; /// /// CAP /// public int ZipCode { get; set; } = 0; /// /// Citta /// public string City { get; set; } = ""; /// /// Stato /// public string State { get; set; } = ""; /// /// VAT / P.Iva /// public string VAT { get; set; } = ""; /// /// Current Door ID /// public int DoorId { get; set; } /// /// Door's parent ID /// public int ParentId { get; set; } = 0; /// /// Codice esterno x riferimento (es ERP) /// public string DoorExtCode { get; set; } = ""; /// /// Descrizione /// public string DoorDescript { get; set; } = ""; /// /// Quantity Ordered /// public int Quantity { get; set; } = 1; /// /// Unit cost for the door /// public decimal UnitCost { get; set; } = 0; /// /// Unità di misura /// public string MeasureUnit { get; set; } = ""; /// /// Tipo DoorOP /// public string ObjectType { get; set; } = ""; /// /// Chiave DoorOP /// public string ObjectKey { get; set; } = ""; /// /// Valore DoorOp /// public string ObjectVal { get; set; } = ""; /// /// Quantità DoorOp /// public int ObjectQty { get; set; } = 1; } }