Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
Medic
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hasan.bahjat
Medic
Commits
670ca59a
Commit
670ca59a
authored
May 21, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update some entities
parent
6e19574b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
EntityBase.cs
ApplicationCore/Entities/Base/EntityBase.cs
+3
-0
Medicine.cs
ApplicationCore/Entities/Medicine.cs
+4
-0
No files found.
ApplicationCore/Entities/Base/EntityBase.cs
View file @
670ca59a
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
...
...
@@ -8,6 +10,7 @@ namespace ApplicationCore.Entities
{
public
class
EntityBase
{
[
DatabaseGenerated
(
DatabaseGeneratedOption
.
Identity
)]
public
int
Id
{
get
;
set
;
}
}
...
...
ApplicationCore/Entities/Medicine.cs
View file @
670ca59a
...
...
@@ -16,6 +16,10 @@ namespace ApplicationCore.Entities
public
MedicineType
MedicineType
{
get
;
set
;
}
public
ICollection
<
Ingredient
>
Ingredients
{
get
;
set
;
}
public
ICollection
<
MedicineIngredient
>
MedicineIngredients
{
get
;
set
;
}
public
ICollection
<
Patient
>
Patients
{
get
;
set
;
}
public
ICollection
<
PatientMedicine
>
PatientMedicines
{
get
;
set
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment