source: FarmatikoData/Models/Pharmacy.cs@ 0c48bbb

Last change on this file since 0c48bbb was 171f106, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Add BaseEntity class and it's inheritance

  • Property mode set to 100644
File size: 528 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
4using System.Text;
5using FarmatikoData.Base;
6using Microsoft.EntityFrameworkCore;
7
8namespace FarmatikoData.Models
9{
10 public class Pharmacy : BaseEntity
11 {
12 public Pharmacy() { }
13 [Required]
14 public string Name { get; set; }
15 [Required]
16 public string Location { get; set; }
17 [Required]
18 public string Address { get; set; }
19 public bool WorkAllTime { get; set; }
20 }
21}
Note: See TracBrowser for help on using the repository browser.