source: FarmatikoData/Models/PharmacyHead.cs@ 1db5673

Last change on this file since 1db5673 was 1db5673, checked in by DimitarSlezenkovski <dslezenkovski@…>, 3 years ago

Fix bugs, add some more

  • Property mode set to 100644
File size: 934 bytes
RevLine 
[1454207]1using System.Collections.Generic;
[5d02859]2using System.ComponentModel.DataAnnotations;
[1db5673]3using System.Text.Json.Serialization;
[a8ccc2c]4using FarmatikoData.Base;
[1db5673]5using Newtonsoft.Json;
[30a465f]6
7namespace FarmatikoData.Models
8{
[a8ccc2c]9 public class PharmacyHead : BaseEntity
[30a465f]10 {
[5d02859]11 public PharmacyHead()
12 {
13 }
14 [Required]
[1db5673]15 [JsonProperty("Email")]
[30a465f]16 public string Email { get; set; }
[5d02859]17 [Required]
[1db5673]18 [JsonProperty("Name")]
[30a465f]19 public string Name { get; set; }
[5d02859]20 [Required]
[1db5673]21 [JsonProperty("Passwd")]
[30a465f]22 public string Password { get; set; }
[1db5673]23 [JsonProperty("PharmacyMedicines")]
24 public List<Medicine> MedicineList { get; set; }
25 [Required]
26 [JsonProperty("Pharmacy")]
27 public ICollection<Pharmacy> PharmaciesList { get; set; }
28 //[JsonProperty("PHMedicineList")]
29 public ICollection<PharmacyHeadMedicine> PHMedicineList { get; set; }
[5d02859]30
[30a465f]31 }
32}
Note: See TracBrowser for help on using the repository browser.