add entity checkout-polies
This commit is contained in:
No files matched your search
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
Generated
+17
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||||
|
<data-source source="LOCAL" name="SIMRS@localhost" uuid="73256f1d-dfdf-4a1a-b335-9b8b8b191246">
|
||||||
|
<driver-ref>postgresql</driver-ref>
|
||||||
|
<synchronize>true</synchronize>
|
||||||
|
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||||
|
<jdbc-url>jdbc:postgresql://localhost:5432/SIMRS</jdbc-url>
|
||||||
|
<jdbc-additional-properties>
|
||||||
|
<property name="com.intellij.clouds.kubernetes.db.host.port" />
|
||||||
|
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
|
||||||
|
<property name="com.intellij.clouds.kubernetes.db.container.port" />
|
||||||
|
</jdbc-additional-properties>
|
||||||
|
<working-dir>$ProjectFileDir$</working-dir>
|
||||||
|
</data-source>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/simrs-be.iml" filepath="$PROJECT_DIR$/.idea/simrs-be.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+9
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="Go" enabled="true" />
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -1 +1,18 @@
|
|||||||
package checkout_polies
|
package checkout_polies
|
||||||
|
|
||||||
|
import (
|
||||||
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
||||||
|
ed "simrs-vx/internal/domain/main-entities/doctor"
|
||||||
|
ee "simrs-vx/internal/domain/main-entities/encounter"
|
||||||
|
eu "simrs-vx/internal/domain/main-entities/unit"
|
||||||
|
)
|
||||||
|
|
||||||
|
type CheckoutPolies struct {
|
||||||
|
ecore.Main
|
||||||
|
Encounter_Id *uint `json:"encounter_id"`
|
||||||
|
Encounter *ee.Encounter `json:"encounter,omitempty" gorm:"foreignKey:Encounter_Id;references:Id"`
|
||||||
|
Unit_Id *uint16 `json:"unit_id"`
|
||||||
|
Unit *eu.Unit `json:"unit,omitempty" gorm:"foreignKey:Unit_Id;references:Id"`
|
||||||
|
Doctor_Id *uint `json:"doctor_id"`
|
||||||
|
Doctor *ed.Doctor `json:"doctor,omitempty" gorm:"foreignKey:Doctor_Id;references:Id"`
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ import (
|
|||||||
adime "simrs-vx/internal/domain/main-entities/adime"
|
adime "simrs-vx/internal/domain/main-entities/adime"
|
||||||
ambulatory "simrs-vx/internal/domain/main-entities/ambulatory"
|
ambulatory "simrs-vx/internal/domain/main-entities/ambulatory"
|
||||||
appointment "simrs-vx/internal/domain/main-entities/appointment"
|
appointment "simrs-vx/internal/domain/main-entities/appointment"
|
||||||
|
checkoutpolies "simrs-vx/internal/domain/main-entities/checkout-polies"
|
||||||
chemo "simrs-vx/internal/domain/main-entities/chemo"
|
chemo "simrs-vx/internal/domain/main-entities/chemo"
|
||||||
consultation "simrs-vx/internal/domain/main-entities/consultation"
|
consultation "simrs-vx/internal/domain/main-entities/consultation"
|
||||||
counter "simrs-vx/internal/domain/main-entities/counter"
|
counter "simrs-vx/internal/domain/main-entities/counter"
|
||||||
@@ -151,5 +152,6 @@ func getMainEntities() []any {
|
|||||||
&chemo.Chemo{},
|
&chemo.Chemo{},
|
||||||
&midwife.Midwife{},
|
&midwife.Midwife{},
|
||||||
&postalregion.PostalRegion{},
|
&postalregion.PostalRegion{},
|
||||||
|
&checkoutpolies.CheckoutPolies{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user