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