source: FarmatikoData/Models/Pandemic.cs@ e42f61a

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

Add classes & interfaces for Repo

  • 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 Pandemic(string Name, int TotalMK, int ActiveMK,
13 int DeathsMK, int NewMK, long TotalGlobal, long DeathsGlobal, long ActiveGlobal)
14 {
15 this.Name = Name;
16 this.TotalMK = TotalMK;
17 this.ActiveMK = ActiveMK;
18 this.DeathsMK = DeathsMK;
19 this.NewMK = NewMK;
20 this.TotalGlobal = TotalGlobal;
21 this.DeathsGlobal = DeathsGlobal;
22 this.ActiveGlobal = ActiveGlobal;
23 }
24 public string Name { get; set; }
25 public int TotalMK { get; set; }
26 public int ActiveMK { get; set; }
27 public int DeathsMK { get; set; }
28 public int NewMK { get; set; }
29 public long TotalGlobal { get; set; }
30 public long DeathsGlobal { get; set; }
31 public long ActiveGlobal { get; set; }
32 }
33}
Note: See TracBrowser for help on using the repository browser.