No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Scorm2004.Scorm2004MapTrackObjective.orm.xml 1.9KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
  3. <entity name="Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackObjective"
  4. table="sen_scorm2004_map_track_objective">
  5. <indexes>
  6. <index name="FK_track_for_map_track_objective" columns="track_fk"/>
  7. <index name="FK_objetive" columns="objective_identifier"/>
  8. </indexes>
  9. <id name="track_fk" type="integer" column="track_fk"/>
  10. <field name="success_status" type="string" column="success_status" nullable="false"/>
  11. <field name="completion_status" type="string" column="completion_status" nullable="false"/>
  12. <field name="progress_measure" type="decimal" column="progress_measure" precision="10" scale="7" nullable="false"/>
  13. <field name="score_scaled" type="decimal" column="score_scaled" precision="10" scale="7" nullable="false"/>
  14. <field name="score_raw" type="decimal" column="score_raw" precision="10" scale="7" nullable="false"/>
  15. <field name="score_min" type="decimal" column="score_min" precision="10" scale="7" nullable="false"/>
  16. <field name="score_max" type="decimal" column="score_max" precision="10" scale="7" nullable="false"/>
  17. <!-- liaison avec l'objectif -->
  18. <field name="objective_identifier" type="string" column="objective_identifier" length="255" nullable="false"/>
  19. <!-- liaison avec le track -->
  20. <many-to-one field="scorm2004Track" target-entity="Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track" inversed-by="scorm2004MapTrackObjectives" fetch="LAZY">
  21. <join-columns>
  22. <join-column name="track_fk" referenced-column-name="track_id" nullable=""/>
  23. </join-columns>
  24. </many-to-one>
  25. </entity>
  26. </doctrine-mapping>