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;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace EgwCoreLib.Lux.Data.DbModel
{
[Table("RegResource")]
public class ResourceModel
{
///
/// ID del record
///
[Key]
public int ResourceID { get; set; }
///
/// Descrizione
///
public string Description { get; set; } = "";
///
/// Indica gli assec/cespiti
///
public bool IsAsset { get; set; } = false;
///
/// Indica che è un operatore umano
///
public bool IsHuman { get; set; } = false;
///
/// Costo fisso risorsa per UM tipo ammortamento
///
public double UnitCostFix { get; set; } = 0;
///
/// Unità di misura della risorsa tipo fisso/ammortamento
///
public string UmFix { get; set; } = "";
///
/// Costo unitario risorsa per UM tipo consumabili
///
public double UnitCostProp { get; set; } = 0;
///
/// Unità di misura della risorsa
///
public string UmProp { get; set; } = "";
}
}