source: FarmatikoData/Models/HealthcareWorkers.cs@ ee137aa

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

Add migration, BaseEntity class and FarmatikoServices

  • Property mode set to 100644
File size: 551 bytes
RevLine 
[30a465f]1using System;
2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
4using System.Text;
[a8ccc2c]5using FarmatikoData.Base;
[30a465f]6using Microsoft.EntityFrameworkCore;
7
8namespace FarmatikoData.Models
9{
[a8ccc2c]10 public class HealthcareWorkers : BaseEntity
[30a465f]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 }
21}
Note: See TracBrowser for help on using the repository browser.