Last change
on this file since f33b0d4 was 171f106, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add BaseEntity class and it's inheritance
|
-
Property mode
set to
100644
|
File size:
563 bytes
|
Rev | Line | |
---|
[30a465f] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
[171f106] | 4 | using FarmatikoData.Base;
|
---|
[30a465f] | 5 | using Microsoft.EntityFrameworkCore;
|
---|
| 6 |
|
---|
| 7 | namespace FarmatikoData.Models
|
---|
| 8 | {
|
---|
[171f106] | 9 | public class Medicine : BaseEntity
|
---|
[30a465f] | 10 | {
|
---|
| 11 | public Medicine() { }
|
---|
| 12 | public string Name { get; set; }
|
---|
| 13 | public string Strength { get; set; }
|
---|
| 14 | public string Form { get; set; }
|
---|
| 15 | public string WayOfIssuing { get; set; }
|
---|
| 16 | public string Manufacturer { get; set; }
|
---|
| 17 | public float Price { get; set; }
|
---|
| 18 | public string Packaging { get; set; }
|
---|
| 19 |
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.