Last change
on this file since ee137aa was 4e72684, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add services
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[30a465f] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
[a8ccc2c] | 4 | using FarmatikoData.Base;
|
---|
[30a465f] | 5 | using Microsoft.EntityFrameworkCore;
|
---|
| 6 |
|
---|
| 7 | namespace 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.