Last change
on this file since 1db5673 was 1454207, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Change structure, Add repo, services & controllers
|
-
Property mode
set to
100644
|
File size:
800 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel.DataAnnotations;
|
---|
4 | using System.Text;
|
---|
5 | using FarmatikoData.Base;
|
---|
6 | using Microsoft.EntityFrameworkCore;
|
---|
7 |
|
---|
8 | namespace FarmatikoData.Models
|
---|
9 | {
|
---|
10 | public class HealthcareWorker : BaseEntity
|
---|
11 | {
|
---|
12 | public HealthcareWorker() { }
|
---|
13 | [Required]
|
---|
14 | public string Name { get; set; }
|
---|
15 | [Required]
|
---|
16 | public string Branch { get; set; }
|
---|
17 | [Required]
|
---|
18 | public HealthFacility Facility { get; set; }
|
---|
19 | public string Title { get; set; }
|
---|
20 | public HealthcareWorker(string Name, string Branch, HealthFacility 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.