From 1ccc5d6ad366fb361ebc6674b9c1a4c40c96fe25 Mon Sep 17 00:00:00 2001 From: ZMiguel Alves Date: Thu, 14 Mar 2019 16:51:48 +0000 Subject: [PATCH] Auto stash before merge of "zmiguel" and "origin/master" --- api/Data/DataContext.cs | 2 ++ api/Models/Chromos.cs | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 api/Models/Chromos.cs diff --git a/api/Data/DataContext.cs b/api/Data/DataContext.cs index e6ac56e1..4e095ae8 100755 --- a/api/Data/DataContext.cs +++ b/api/Data/DataContext.cs @@ -21,6 +21,8 @@ namespace api.Data public DbSet EventLocs {get;set;} public DbSet EventLocsVisited {get;set;} + + public DbSet Chromos {get;set;} public DbSetLogs{get;set;} diff --git a/api/Models/Chromos.cs b/api/Models/Chromos.cs new file mode 100644 index 00000000..8f5fd8e5 --- /dev/null +++ b/api/Models/Chromos.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; + +namespace api.Models + +{ + public class Cromos + { + public int Id{get;set;} //id + public String QRCode{get;set;} //QR + public String Nome{get;set;} //Nome + public String DescPub{get;set;} //descrição geral nao visto + public String DescVis{get;set;} //descrição visto + + } +} \ No newline at end of file