Changeset 0a694bb for FarmatikoData/Models/Pharmacy.cs
- Timestamp:
- 02/07/21 16:25:56 (4 years ago)
- Branches:
- master
- Children:
- e0cdea2
- Parents:
- ac51326
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Models/Pharmacy.cs
rac51326 r0a694bb 5 5 using FarmatikoData.Base; 6 6 using Microsoft.EntityFrameworkCore; 7 using Newtonsoft.Json; 7 8 8 9 namespace FarmatikoData.Models … … 12 13 public Pharmacy() { } 13 14 [Required] 15 [JsonProperty("name")] 14 16 public string Name { get; set; } 15 17 [Required] 18 [JsonProperty("location")] 16 19 public string Location { get; set; } 17 20 [Required] 21 [JsonProperty("address")] 18 22 public string Address { get; set; } 19 23 [Required] 24 [JsonProperty("workAllTime")] 20 25 public bool WorkAllTime { get; set; } 21 26 public Pharmacy(string Name, string Location, string Address, bool WorkAllTime)
Note:
See TracChangeset
for help on using the changeset viewer.