Skip to content

Instantly share code, notes, and snippets.

@samusaran
Created December 28, 2018 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samusaran/ccb16db4ae8691a413226ccdbfead6aa to your computer and use it in GitHub Desktop.
Save samusaran/ccb16db4ae8691a413226ccdbfead6aa to your computer and use it in GitHub Desktop.
Model
using LabReboot.Const.ApiDescriptions;
using LabReboot.Const.Attributes;
using ServiceStack;
using ServiceStack.DataAnnotations;
using ServiceStack.Model;
// ReSharper disable ClassNeverInstantiated.Global
namespace LabReboot.ServiceModel.DBO
{
[AppDBModel(Descrizione = "Tabella contenente i valori aggregati")]
[Alias("LRPTDIAGRAMMATAT")]
public class LRPTDiagrammaTAT : DBObject, IHasId<int>
{
[Alias("ID")]
[AutoIncrement]
[PrimaryKey]
public int Id { get; set; }
[ApiMember(Description = AppApiMemberDescription.MemberOfAnalisi.Dizionario.ID)]
[Alias("DOPERATOREID")]
[Required]
[References(typeof(LRPTDiagrammaTATFiltro))]
public int FiltroId { get; set; }
[Alias("TIPOPRIORITA")]
public int TipoPriorita { get; set; }
[Alias("TATPREANALITICO")]
public int TatPreanalitico { get; set; }
[Alias("TATESECUZIONE")]
public int TatEsecuzione { get; set; }
[Alias("TATVALIDAZIONE")]
public int TatValidazione { get; set; }
[Alias("PREANALITICOIN")]
public bool PreanaliticoIn { get; set; }
[Alias("PREANALITICOOUT")]
public bool PreanaliticoOut { get; set; }
[Alias("ESECUZIONEIN")]
public bool EsecuzioneIn { get; set; }
[Alias("ESECUZIONEOUT")]
public bool EsecuzioneOut { get; set; }
[Alias("VALIDAZIONEIN")]
public bool ValidazioneIn { get; set; }
[Alias("VALIDAZIONEOUT")]
public bool ValidazioneOut { get; set; }
[Alias("REPARTOID")]
public int? RepartoId { get; set; }
[Alias("PROFILOANALISIID")]
public int? ProfiloAnalisiId { get; set; }
[Alias("CONTENITOREID")]
public int ContenitoreId { get; set; }
[Alias("ANALISIID")]
public int AnalisiId { get; set; }
[Alias("CONTEGGIAREPARTO")]
public bool ConteggiaReparto { get; set; }
[Alias("CONTEGGIAPROFILO")]
public bool ConteggiaProfilo { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment