Ignore:
Timestamp:
10/01/20 03:17:09 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
6f203af
Parents:
5d02859
Message:

Change structure, Add repo, services & controllers

Location:
FarmatikoData/Models
Files:
1 added
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/HealthFacility.cs

    r5d02859 r1454207  
    99namespace FarmatikoData.Models
    1010{
    11     public class HealthFacilities : BaseEntity
     11    public class HealthFacility : BaseEntity
    1212    {
    13         public HealthFacilities() { }
     13        public HealthFacility() { }
    1414        [Required]
    1515        public string Name { get; set; }
     
    2222        public string Email { get; set; }
    2323        public string Phone { get; set; }
    24         public HealthFacilities(string Name, string Municipality, string Address, string Type, string Email, string Phone)
     24        public HealthFacility(string Name, string Municipality, string Address, string Type, string Email, string Phone)
    2525        {
    2626            this.Name = Name;
  • FarmatikoData/Models/HealthcareWorker.cs

    r5d02859 r1454207  
    88namespace FarmatikoData.Models
    99{
    10     public class HealthcareWorkers : BaseEntity
     10    public class HealthcareWorker : BaseEntity
    1111    {
    12         public HealthcareWorkers() { }
     12        public HealthcareWorker() { }
    1313        [Required]
    1414        public string Name { get; set; }
     
    1616        public string Branch { get; set; }
    1717        [Required]
    18         public HealthFacilities Facility { get; set; }
     18        public HealthFacility Facility { get; set; }
    1919        public string Title { get; set; }
    20         public HealthcareWorkers(string Name, string Branch, HealthFacilities Facility, string Title)
     20        public HealthcareWorker(string Name, string Branch, HealthFacility Facility, string Title)
    2121        {
    2222            this.Name = Name;
  • FarmatikoData/Models/PharmacyHead.cs

    r5d02859 r1454207  
    1 using System;
    2 using System.Collections.Generic;
     1using System.Collections.Generic;
    32using System.ComponentModel.DataAnnotations;
    4 using System.Text;
    53using FarmatikoData.Base;
    6 using Microsoft.EntityFrameworkCore;
    74
    85namespace FarmatikoData.Models
Note: See TracChangeset for help on using the changeset viewer.