Changeset a8ccc2c


Ignore:
Timestamp:
07/22/20 15:23:50 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
37c8d1d
Parents:
96108d8
Message:

Add migration, BaseEntity class and FarmatikoServices

Files:
6 added
13 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko.sln

    r96108d8 ra8ccc2c  
    66Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Farmatiko", "Farmatiko\Farmatiko.csproj", "{36086D69-E8B8-4F14-8F25-D262410306EB}"
    77EndProject
    8 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FarmatikoData", "FarmatikoData\FarmatikoData.csproj", "{5BC55BDD-A064-4CE7-8606-D2FF42699EBF}"
     8Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FarmatikoData", "FarmatikoData\FarmatikoData.csproj", "{5BC55BDD-A064-4CE7-8606-D2FF42699EBF}"
     9EndProject
     10Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FarmatikoServices", "FarmatikoServices\FarmatikoServices.csproj", "{D207CD1B-4C31-4414-9EF4-DC18F219CBF6}"
    911EndProject
    1012Global
     
    2224                {5BC55BDD-A064-4CE7-8606-D2FF42699EBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
    2325                {5BC55BDD-A064-4CE7-8606-D2FF42699EBF}.Release|Any CPU.Build.0 = Release|Any CPU
     26                {D207CD1B-4C31-4414-9EF4-DC18F219CBF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
     27                {D207CD1B-4C31-4414-9EF4-DC18F219CBF6}.Debug|Any CPU.Build.0 = Debug|Any CPU
     28                {D207CD1B-4C31-4414-9EF4-DC18F219CBF6}.Release|Any CPU.ActiveCfg = Release|Any CPU
     29                {D207CD1B-4C31-4414-9EF4-DC18F219CBF6}.Release|Any CPU.Build.0 = Release|Any CPU
    2430        EndGlobalSection
    2531        GlobalSection(SolutionProperties) = preSolution
  • Farmatiko/ClientApp/src/app/korona/korona.component.css

    r96108d8 ra8ccc2c  
    11.counter {
    2     background-color:#f5f5f5;
    3     padding: 20px 0;
    4     border-radius: 5px;
     2  background-color: #f5f5f5;
     3  padding: 20px 0;
     4  border-radius: 5px;
    55}
    66
    77.count-title {
    8     font-size: 40px;
    9     font-weight: normal;
    10     margin-top: 10px;
    11     margin-bottom: 0;
    12     text-align: center;
     8  font-size: 40px;
     9  font-weight: normal;
     10  margin-top: 10px;
     11  margin-bottom: 0;
     12  text-align: center;
    1313}
    1414
    1515.count-text {
    16     font-size: 13px;
    17     font-weight: normal;
    18     margin-top: 10px;
    19     margin-bottom: 0;
    20     text-align: center;
     16  font-size: 13px;
     17  font-weight: normal;
     18  margin-top: 10px;
     19  margin-bottom: 0;
     20  text-align: center;
    2121}
    2222
    2323.fa-2x {
    24     margin: 0 auto;
    25     float: none;
    26     display: table;
    27     color: #4ad1e5;
     24  margin: 0 auto;
     25  float: none;
     26  display: table;
     27  color: #4ad1e5;
    2828}
  • Farmatiko/ClientApp/src/app/korona/korona.component.spec.ts

    r96108d8 ra8ccc2c  
    99  beforeEach(async(() => {
    1010    TestBed.configureTestingModule({
    11       declarations: [ KoronaComponent ]
     11      declarations: [KoronaComponent]
    1212    })
    13     .compileComponents();
     13      .compileComponents();
    1414  }));
    1515
  • Farmatiko/ClientApp/src/app/models/Medicine.ts

    r96108d8 ra8ccc2c  
    11export class Medicine {
    2     Name: string;
    3     Strength: string;
    4     Form: string;
    5     WayOfIssuing: string;
    6     Manufacturer: string;
    7     Price: Float32Array;
    8     Packaging: string;
     2  Name: string;
     3  Strength: string;
     4  Form: string;
     5  WayOfIssuing: string;
     6  Manufacturer: string;
     7  Price: Float32Array;
     8  Packaging: string;
    99}
  • Farmatiko/Farmatiko.csproj

    r96108d8 ra8ccc2c  
    3838  </ItemGroup>
    3939
    40   <ItemGroup>
    41     <Folder Include="Services\" />
    42   </ItemGroup>
    43 
    4440  <Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)node_modules') ">
    4541    <!-- Ensure Node.js is installed -->
  • Farmatiko/appsettings.json

    r96108d8 ra8ccc2c  
    11{
    22  "ConnectionStrings": {
    3     "FarmatikoConnection": "User ID=postgres;Password=@@Farmatiko@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;"
     3    "FarmatikoConnection": "Host=localhost;User ID=postgres;Password=@@Postgres@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;"
    44  },
    55  "Logging": {
  • FarmatikoData/Models/HealthFacilities.cs

    r96108d8 ra8ccc2c  
    33using System.ComponentModel.DataAnnotations;
    44using System.Text;
     5using FarmatikoData.Base;
    56using Microsoft.EntityFrameworkCore;
    67
    78namespace FarmatikoData.Models
    89{
    9     public class HealthFacilities
     10    public class HealthFacilities : BaseEntity
    1011    {
    1112        public HealthFacilities() { }
  • FarmatikoData/Models/HealthcareWorkers.cs

    r96108d8 ra8ccc2c  
    33using System.ComponentModel.DataAnnotations;
    44using System.Text;
     5using FarmatikoData.Base;
    56using Microsoft.EntityFrameworkCore;
    67
    78namespace FarmatikoData.Models
    89{
    9     public class HealthcareWorkers
     10    public class HealthcareWorkers : BaseEntity
    1011    {
    1112        public HealthcareWorkers() { }
  • FarmatikoData/Models/Medicine.cs

    r96108d8 ra8ccc2c  
    22using System.Collections.Generic;
    33using System.Text;
     4using FarmatikoData.Base;
    45using Microsoft.EntityFrameworkCore;
    56
    67namespace FarmatikoData.Models
    78{
    8     public class Medicine
     9    public class Medicine : BaseEntity
    910    {
    1011        public Medicine() { }
  • FarmatikoData/Models/MedicineList.cs

    r96108d8 ra8ccc2c  
    11using System.Collections.Generic;
     2using FarmatikoData.Base;
    23using FarmatikoData.Models;
    34using Microsoft.EntityFrameworkCore;
     
    56namespace FarmatikoData.Models
    67{
    7     public class MedicineList
     8    public class MedicineList : BaseEntity
    89    {
    910        public Medicine Medicines { get; set; }
  • FarmatikoData/Models/Pandemic.cs

    r96108d8 ra8ccc2c  
    22using System.Collections.Generic;
    33using System.Text;
     4using FarmatikoData.Base;
    45using Microsoft.EntityFrameworkCore;
    56
    67namespace FarmatikoData.Models
    78{
    8     public class Pandemic
     9    public class Pandemic : BaseEntity
    910    {
    1011        public Pandemic() { }
  • FarmatikoData/Models/Pharmacy.cs

    r96108d8 ra8ccc2c  
    22using System.Collections.Generic;
    33using System.Text;
     4using FarmatikoData.Base;
    45using Microsoft.EntityFrameworkCore;
    56
    67namespace FarmatikoData.Models
    78{
    8     public class Pharmacy
     9    public class Pharmacy : BaseEntity
    910    {
    1011        public Pharmacy() { }
  • FarmatikoData/Models/PharmacyHead.cs

    r96108d8 ra8ccc2c  
    22using System.Collections.Generic;
    33using System.Text;
     4using FarmatikoData.Base;
    45using Microsoft.EntityFrameworkCore;
    56
    67namespace FarmatikoData.Models
    78{
    8     public class PharmacyHead
     9    public class PharmacyHead : BaseEntity
    910    {
    1011        public MedicineList PharmacyMedicines { get; set; }
Note: See TracChangeset for help on using the changeset viewer.