60 lines
1.5 KiB
C#
60 lines
1.5 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 EgwCoreLib.Lux.Data.DbModel
|
|
{
|
|
[Table("RegResource")]
|
|
public class ResourceModel
|
|
{
|
|
/// <summary>
|
|
/// ID del record
|
|
/// </summary>
|
|
[Key]
|
|
public int ResourceID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Descrizione
|
|
/// </summary>
|
|
public string Description { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Indica gli assec/cespiti
|
|
/// </summary>
|
|
public bool IsAsset { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Indica che è un operatore umano
|
|
/// </summary>
|
|
public bool IsHuman { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Costo fisso risorsa per UM tipo ammortamento
|
|
/// </summary>
|
|
public double UnitCostFix { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Unità di misura della risorsa tipo fisso/ammortamento
|
|
/// </summary>
|
|
public string UmFix { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Costo unitario risorsa per UM tipo consumabili
|
|
/// </summary>
|
|
public double UnitCostProp { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Unità di misura della risorsa
|
|
/// </summary>
|
|
public string UmProp { get; set; } = "";
|
|
|
|
}
|
|
}
|