source: FarmatikoData/Models/Pandemic.cs@ 63d885e

Last change on this file since 63d885e was 4e72684, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Add services

  • Property mode set to 100644
File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using FarmatikoData.Base;
5using Microsoft.EntityFrameworkCore;
6
7namespace FarmatikoData.Models
8{
9 public class Pandemic : BaseEntity
10 {
11 public Pandemic() { }
12 public string Name { get; set; }
13 public int TotalMK { get; set; }
14 public int ActiveMK { get; set; }
15 public int DeathsMK { get; set; }
16 public int NewMK { get; set; }
17 public long TotalGlobal { get; set; }
18 public long DeathsGlobal { get; set; }
19 public long ActiveGlobal { get; set; }
20 public Pandemic(string Name, int TotalMK, int ActiveMK,
21 int DeathsMK, int NewMK, long TotalGlobal, long DeathsGlobal, long ActiveGlobal)
22 {
23 this.Name = Name;
24 this.TotalMK = TotalMK;
25 this.ActiveMK = ActiveMK;
26 this.DeathsMK = DeathsMK;
27 this.NewMK = NewMK;
28 this.TotalGlobal = TotalGlobal;
29 this.DeathsGlobal = DeathsGlobal;
30 this.ActiveGlobal = ActiveGlobal;
31 }
32 }
33}
Note: See TracBrowser for help on using the repository browser.