source: FarmatikoData/Models/PharmacyHead.cs@ 5d02859

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

Add new repo, service and controller

  • Property mode set to 100644
File size: 640 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 PharmacyHead : BaseEntity
11 {
12 public PharmacyHead()
13 {
14 }
15 [Required]
16 public string Email { get; set; }
17 [Required]
18 public string Name { get; set; }
19 [Required]
20 public string Password { get; set; }
21 public ICollection<MedicineList> MedicineLists { get; set; }
22 public ICollection<Pharmacy> PharmaciesList { get; set; }
23
24 }
25}
Note: See TracBrowser for help on using the repository browser.