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.

ZipFile.orm.xml 1.2KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
  5. http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
  6. <entity name="Logipro\Bundle\SCORMBundle\Entity\ZipFile"
  7. table="sen_core_zip_file">
  8. <id name="zipFileId" column="zip_file_id" type="integer">
  9. <generator strategy="AUTO" />
  10. </id>
  11. <field name="zipFileName" column="zip_file_name" type="string" length="255" />
  12. <field name="zipFileprint" column="zip_fileprint" type="string" length ="50" />
  13. <field name="uploadDate" column="upload_date" type="datetime" />
  14. <field name="endUploadDate" column="end_upload_date" type="datetime" />
  15. <field name="standard" column="standard" type="string" length="50" />
  16. <field name="importStatus" column="import_status" type="string" length ="50" />
  17. <!-- liaison entre cours et fichier zip -->
  18. <one-to-many field="mapCourseZipfiles" target-entity="Logipro\Bundle\SCORMBundle\Entity\MapCourseZipfile" mapped-by="zipFile" fetch="LAZY">
  19. <cascade>
  20. <cascade-remove />
  21. </cascade>
  22. </one-to-many>
  23. </entity>
  24. </doctrine-mapping>