source:
FarmatikoData/Models/PharmacyHead.cs@
5d02859
Last change on this file since 5d02859 was 5d02859, checked in by , 4 years ago | |
---|---|
|
|
File size: 640 bytes |
Rev | Line | |
---|---|---|
[30a465f] | 1 | using System; |
2 | using System.Collections.Generic; | |
[5d02859] | 3 | using System.ComponentModel.DataAnnotations; |
[30a465f] | 4 | using System.Text; |
[a8ccc2c] | 5 | using FarmatikoData.Base; |
[30a465f] | 6 | using Microsoft.EntityFrameworkCore; |
7 | ||
8 | namespace FarmatikoData.Models | |
9 | { | |
[a8ccc2c] | 10 | public class PharmacyHead : BaseEntity |
[30a465f] | 11 | { |
[5d02859] | 12 | public PharmacyHead() |
13 | { | |
14 | } | |
15 | [Required] | |
[30a465f] | 16 | public string Email { get; set; } |
[5d02859] | 17 | [Required] |
[30a465f] | 18 | public string Name { get; set; } |
[5d02859] | 19 | [Required] |
[30a465f] | 20 | public string Password { get; set; } |
21 | public ICollection<MedicineList> MedicineLists { get; set; } | |
22 | public ICollection<Pharmacy> PharmaciesList { get; set; } | |
[5d02859] | 23 | |
[30a465f] | 24 | } |
25 | } |
Note:
See TracBrowser
for help on using the repository browser.