source: FarmatikoData/Models/Pandemic.cs@ a55ef91

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

Add services

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[30a465f]1using System;
2using System.Collections.Generic;
3using System.Text;
[a8ccc2c]4using FarmatikoData.Base;
[30a465f]5using Microsoft.EntityFrameworkCore;
6
7namespace FarmatikoData.Models
8{
[a8ccc2c]9 public class Pandemic : BaseEntity
[30a465f]10 {
11 public Pandemic() { }
[4e72684]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; }
[de2baac]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 }
[30a465f]32 }
33}
Note: See TracBrowser for help on using the repository browser.