source: FarmatikoData/Models/HealthFacilities.cs@ c406ae5

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

Update Models, Repos, Services and Controllers

  • Property mode set to 100644
File size: 1020 bytes
Line 
1using System;
2using System.Collections;
3using System.Collections.Generic;
4using System.ComponentModel.DataAnnotations;
5using System.Text;
6using FarmatikoData.Base;
7using Microsoft.EntityFrameworkCore;
8
9namespace FarmatikoData.Models
10{
11 public class HealthFacilities : BaseEntity
12 {
13 public HealthFacilities() { }
14 [Required]
15 public string Name { get; set; }
16 [Required]
17 public string Municipality { get; set; }
18 [Required]
19 public string Address { get; set; }
20 [Required]
21 public string Type { get; set; }
22 public string Email { get; set; }
23 public string Phone { get; set; }
24 public HealthFacilities(string Name, string Municipality, string Address, string Type, string Email, string Phone)
25 {
26 this.Name = Name;
27 this.Municipality = Municipality;
28 this.Address = Address;
29 this.Type = Type;
30 this.Email = Email;
31 this.Phone = Phone;
32 }
33 }
34}
Note: See TracBrowser for help on using the repository browser.