Ignore:
Timestamp:
09/30/20 10:37:22 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
1454207
Parents:
63d885e
Message:

Add new repo, service and controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/Pandemic.cs

    r63d885e r5d02859  
    11using System;
    22using System.Collections.Generic;
     3using System.ComponentModel.DataAnnotations;
    34using System.Text;
    45using FarmatikoData.Base;
     
    1011    {
    1112        public Pandemic() { }
     13        [Required]
    1214        public string Name { get; set; }
     15        [Required]
    1316        public int TotalMK { get; set; }
     17        [Required]
    1418        public int ActiveMK { get; set; }
     19        [Required]
    1520        public int DeathsMK { get; set; }
     21        [Required]
    1622        public int NewMK { get; set; }
     23        [Required]
    1724        public long TotalGlobal { get; set; }
     25        [Required]
    1826        public long DeathsGlobal { get; set; }
     27        [Required]
    1928        public long ActiveGlobal { get; set; }
    2029        public Pandemic(string Name, int TotalMK, int ActiveMK,
Note: See TracChangeset for help on using the changeset viewer.