source:
FarmatikoData/Models/PharmacyHead.cs@
afefe75
Last change on this file since afefe75 was db484c9, checked in by , 4 years ago | |
---|---|
|
|
File size: 817 bytes |
Rev | Line | |
---|---|---|
[1454207] | 1 | using System.Collections.Generic; |
[5d02859] | 2 | using System.ComponentModel.DataAnnotations; |
[1db5673] | 3 | using System.Text.Json.Serialization; |
[a8ccc2c] | 4 | using FarmatikoData.Base; |
[1db5673] | 5 | using Newtonsoft.Json; |
[30a465f] | 6 | |
7 | namespace 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; } |
[db484c9] | 23 | [JsonProperty("PharmacyList")] |
24 | public virtual List<Pharmacy> Pharmacies { get; set; } | |
25 | public virtual List<PharmacyHeadMedicine> Medicines { get; set; } | |
26 | ||
27 | public User User { get; set; } | |
[68454c6] | 28 | |
[5d02859] | 29 | |
[30a465f] | 30 | } |
31 | } |
Note:
See TracBrowser
for help on using the repository browser.