source:
FarmatikoData/Models/Pharmacy.cs@
f33b0d4
Last change on this file since f33b0d4 was 171f106, checked in by , 4 years ago | |
---|---|
|
|
File size: 528 bytes |
Rev | Line | |
---|---|---|
[30a465f] | 1 | using System; |
2 | using System.Collections.Generic; | |
[171f106] | 3 | using System.ComponentModel.DataAnnotations; |
[30a465f] | 4 | using System.Text; |
[171f106] | 5 | using FarmatikoData.Base; |
[30a465f] | 6 | using Microsoft.EntityFrameworkCore; |
7 | ||
8 | namespace FarmatikoData.Models | |
9 | { | |
[171f106] | 10 | public class Pharmacy : BaseEntity |
[30a465f] | 11 | { |
12 | public Pharmacy() { } | |
[171f106] | 13 | [Required] |
[30a465f] | 14 | public string Name { get; set; } |
[171f106] | 15 | [Required] |
[30a465f] | 16 | public string Location { get; set; } |
[171f106] | 17 | [Required] |
[30a465f] | 18 | public string Address { get; set; } |
19 | public bool WorkAllTime { get; set; } | |
20 | } | |
21 | } |
Note:
See TracBrowser
for help on using the repository browser.