50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using EgwCoreLib.Lux.Data.DbModel.Cost;
|
|
using EgwCoreLib.Lux.Data.DbModel.Sales;
|
|
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 EgwCoreLib.Lux.Data.DbModel.Production
|
|
{
|
|
/// <summary>
|
|
/// Macchine / Impianti di produzione gestiti
|
|
/// </summary>
|
|
[Table("production_plant")]
|
|
public class ProductionPlantModel
|
|
{
|
|
[Key]
|
|
public string ProdPlantCod { get; set; } = "";
|
|
|
|
public string ProdPlantDescript { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Indica se sia una postazione manuale
|
|
/// </summary>
|
|
public bool IsManual { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Indica se sia in outsourcing/terzista
|
|
/// </summary>
|
|
public bool Outsource { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Connessione con la risorsa puntuale per costing
|
|
/// </summary>
|
|
public int? ResourceID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Navigazione Resources
|
|
/// </summary>
|
|
[ForeignKey("ResourceID")]
|
|
public virtual ResourceModel ResourceNav { get; set; } = null!;
|
|
|
|
}
|
|
}
|