source: FarmatikoData/Models/HealthcareWorkers.cs@ c406ae5

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

Update Models, Repos, Services and Controllers

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