From cb8ae65ea9a7d5a13272fa06f9782324e808a589 Mon Sep 17 00:00:00 2001 From: MMichels Date: Fri, 27 Oct 2023 17:24:28 -0300 Subject: [PATCH] feat(BROWL): Base de dados --- Browl.Api/Views/Login/Index.cshtml | 2 +- Browl.Database/1-Create - User.sql | 6 +++ Browl.Database/Browl.Database.sqlproj | 64 ++++++++++++++++++++++++++ Browl.sln | 21 ++++++--- docs/Estimativa de hrs.xlsx | Bin 10060 -> 10072 bytes 5 files changed, 86 insertions(+), 7 deletions(-) create mode 100644 Browl.Database/1-Create - User.sql create mode 100644 Browl.Database/Browl.Database.sqlproj diff --git a/Browl.Api/Views/Login/Index.cshtml b/Browl.Api/Views/Login/Index.cshtml index 8618b18..d0276f5 100644 --- a/Browl.Api/Views/Login/Index.cshtml +++ b/Browl.Api/Views/Login/Index.cshtml @@ -15,7 +15,7 @@ - + diff --git a/Browl.Database/1-Create - User.sql b/Browl.Database/1-Create - User.sql new file mode 100644 index 0000000..c8604c7 --- /dev/null +++ b/Browl.Database/1-Create - User.sql @@ -0,0 +1,6 @@ +CREATE TABLE [dbo].[User]( + Id INT Identity PRIMARY KEY, + Email VARCHAR(50) NOT NULL, + Nome VARCHAR(50) NOT NULL, + PasswordHash VARCHAR(100) NOT NULL +) \ No newline at end of file diff --git a/Browl.Database/Browl.Database.sqlproj b/Browl.Database/Browl.Database.sqlproj new file mode 100644 index 0000000..08ee410 --- /dev/null +++ b/Browl.Database/Browl.Database.sqlproj @@ -0,0 +1,64 @@ + + + + Debug + AnyCPU + Browl.Database + 2.0 + 4.1 + {3a11fbff-7637-40ee-b38a-0a27554d2345} + Microsoft.Data.Tools.Schema.Sql.Sql160DatabaseSchemaProvider + Database + + + Browl.Database + Browl.Database + 1033, CI + BySchemaAndSchemaType + True + v4.7.2 + CS + Properties + False + True + True + True + + + bin\Release\ + $(MSBuildProjectName).sql + False + pdbonly + true + false + true + prompt + 4 + + + bin\Debug\ + $(MSBuildProjectName).sql + false + true + full + false + true + true + prompt + 4 + + + 11.0 + + True + 11.0 + + + + + + + + + + \ No newline at end of file diff --git a/Browl.sln b/Browl.sln index f24e211..2e81448 100644 --- a/Browl.sln +++ b/Browl.sln @@ -126,17 +126,19 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Api", "Api", "{BCDAAE63-C61 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{559E6274-5B9B-4799-89C3-F240C87A1A1C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.MVC", "Browl.Api\Browl.MVC.csproj", "{95D0C415-71EA-4B3F-9A81-565AD44ACDCF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.MVC", "Browl.Api\Browl.MVC.csproj", "{95D0C415-71EA-4B3F-9A81-565AD44ACDCF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.Domain", "Browl.Domain\Browl.Domain.csproj", "{10207397-B9BB-40BE-B9B0-F974B37B6EC5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.Domain", "Browl.Domain\Browl.Domain.csproj", "{10207397-B9BB-40BE-B9B0-F974B37B6EC5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.Service", "Browl.Service\Browl.Service.csproj", "{37E8B24A-E4C3-46AF-BBEA-1FB151D501ED}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.Service", "Browl.Service\Browl.Service.csproj", "{37E8B24A-E4C3-46AF-BBEA-1FB151D501ED}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.CrossCutting", "Browl.CrossCutting\Browl.CrossCutting.csproj", "{90C33C03-A5A6-4F37-BFC0-F580FAACD6B8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.CrossCutting", "Browl.CrossCutting\Browl.CrossCutting.csproj", "{90C33C03-A5A6-4F37-BFC0-F580FAACD6B8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.Infra", "Infra\Browl.Infra.csproj", "{42DA3620-E0CC-4C9A-A8F8-631F5F1C9826}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.Infra", "Infra\Browl.Infra.csproj", "{42DA3620-E0CC-4C9A-A8F8-631F5F1C9826}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Browl.IoC", "Browl.IoC\Browl.IoC.csproj", "{E0F0773B-5D9B-4B25-A4CF-A4D435834B13}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Browl.IoC", "Browl.IoC\Browl.IoC.csproj", "{E0F0773B-5D9B-4B25-A4CF-A4D435834B13}" +EndProject +Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "Browl.Database", "Browl.Database\Browl.Database.sqlproj", "{3A11FBFF-7637-40EE-B38A-0A27554D2345}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -256,6 +258,12 @@ Global {E0F0773B-5D9B-4B25-A4CF-A4D435834B13}.Debug|Any CPU.Build.0 = Debug|Any CPU {E0F0773B-5D9B-4B25-A4CF-A4D435834B13}.Release|Any CPU.ActiveCfg = Release|Any CPU {E0F0773B-5D9B-4B25-A4CF-A4D435834B13}.Release|Any CPU.Build.0 = Release|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Release|Any CPU.Build.0 = Release|Any CPU + {3A11FBFF-7637-40EE-B38A-0A27554D2345}.Release|Any CPU.Deploy.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -307,6 +315,7 @@ Global {90C33C03-A5A6-4F37-BFC0-F580FAACD6B8} = {559E6274-5B9B-4799-89C3-F240C87A1A1C} {42DA3620-E0CC-4C9A-A8F8-631F5F1C9826} = {559E6274-5B9B-4799-89C3-F240C87A1A1C} {E0F0773B-5D9B-4B25-A4CF-A4D435834B13} = {BCDAAE63-C618-4709-95D2-8BCA717ABD65} + {3A11FBFF-7637-40EE-B38A-0A27554D2345} = {559E6274-5B9B-4799-89C3-F240C87A1A1C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {09C8AF50-40D4-48F2-A03D-9BC7AB6D3538} diff --git a/docs/Estimativa de hrs.xlsx b/docs/Estimativa de hrs.xlsx index b675a8186be046a48c34936f29db4bea9d1864ad..3fe02166f2c6dcf5b9752919e3c95b411c33559f 100644 GIT binary patch delta 2839 zcmZuzX*3iJ7aqpG8zT(GFve#IAzLUyBaCeb$r551``BYLG$Lz5#1OA_h=h=RtL$XW zp6uC^?B?rze|+bB=e+mdbI!f@oadbTJkRYzennO^bK|tyEX+%R0Kg<00Kf_W0D>?w ze%N4)v!8U32d4Ah{lrXVaJU_s61f~m(0@W;D9-2>GXGI7(U1C33WUFN!#I(|(PNb6 z&o-c`$;pCs12J|g!GxQ*)$e|rNB;MHutw$``G|_pWqWNMX=Zo;5#q}?kUgeR`Y|MEQc1^R4tm=qE%9jduIaV#&5zlf z*gd{q5_EHNTGP9{S6B@ml3rUrB>)(Pc?HVJAU>9%-SEIS4#89(zI0$iD0xk0OKTyV zZD)+}OK)VQ0w&DzMB)_W!-8Z=UxHwky2%v7wm z*lc-gGt>m)XYGct{1_0rKUztkl#N1aJRv-BoB2XB`M;DMRk_^wQp#vH)Kjv2*w51i zAH_I4wK}<+me3>RpQ9$1T`Nce0C0AtZ&1>ClN6N;Ih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