ae748ebeb2
- cablata logica Cà - test su WKST-SAM notturno
45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
// <Auto-Generated>
|
|
// This is here so CodeMaid doesn't reorganize this document
|
|
// </Auto-Generated>
|
|
namespace MP.MONO.Data.DbModels
|
|
{
|
|
/// <summary>
|
|
/// Tabella valore stato contatori (espressi in minuti centesimali...)
|
|
/// </summary>
|
|
[Table("Counter")]
|
|
public class CounterModel
|
|
{
|
|
/// <summary>
|
|
/// Codice Univoco
|
|
/// </summary>
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None), MaxLength(250)]
|
|
public string CCode { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Counter Code Alias
|
|
/// </summary>
|
|
[MaxLength(250)]
|
|
public string CodAlias { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Descrizione
|
|
/// </summary>
|
|
[MaxLength(500)]
|
|
public string Description { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Valore attuale espresso in ore
|
|
/// </summary>
|
|
public double ActualVal { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// DataOra ultimo reset valore contatore (se effettuato) altrimenti minimo datetime
|
|
/// </summary>
|
|
public DateTime LastReset { get; set; } = DateTime.MinValue;
|
|
}
|
|
}
|