Browse Source

Add license + id can be null

Julio Montoya 10 years ago
parent
commit
98ae4567b2
88 changed files with 143 additions and 87 deletions
  1. 1 1
      src/Chamilo/CourseBundle/Entity/CAnnouncement.php
  2. 1 1
      src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php
  3. 1 1
      src/Chamilo/CourseBundle/Entity/CAttendance.php
  4. 2 1
      src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php
  5. 2 1
      src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php
  6. 2 1
      src/Chamilo/CourseBundle/Entity/CAttendanceResult.php
  7. 2 1
      src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php
  8. 1 1
      src/Chamilo/CourseBundle/Entity/CBlogAttachment.php
  9. 1 0
      src/Chamilo/CourseBundle/Entity/CBlogComment.php
  10. 1 0
      src/Chamilo/CourseBundle/Entity/CBlogRating.php
  11. 1 0
      src/Chamilo/CourseBundle/Entity/CBlogRelUser.php
  12. 1 0
      src/Chamilo/CourseBundle/Entity/CBlogTask.php
  13. 7 6
      src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php
  14. 1 1
      src/Chamilo/CourseBundle/Entity/CCalendarEvent.php
  15. 2 1
      src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php
  16. 1 0
      src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php
  17. 1 1
      src/Chamilo/CourseBundle/Entity/CChatConnected.php
  18. 2 1
      src/Chamilo/CourseBundle/Entity/CCourseDescription.php
  19. 1 1
      src/Chamilo/CourseBundle/Entity/CCourseSetting.php
  20. 1 1
      src/Chamilo/CourseBundle/Entity/CDocument.php
  21. 1 0
      src/Chamilo/CourseBundle/Entity/CDropboxCategory.php
  22. 1 0
      src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php
  23. 2 1
      src/Chamilo/CourseBundle/Entity/CDropboxFile.php
  24. 1 0
      src/Chamilo/CourseBundle/Entity/CDropboxPerson.php
  25. 1 0
      src/Chamilo/CourseBundle/Entity/CDropboxPost.php
  26. 2 1
      src/Chamilo/CourseBundle/Entity/CForumAttachment.php
  27. 1 0
      src/Chamilo/CourseBundle/Entity/CForumCategory.php
  28. 1 0
      src/Chamilo/CourseBundle/Entity/CForumForum.php
  29. 2 1
      src/Chamilo/CourseBundle/Entity/CForumMailcue.php
  30. 2 1
      src/Chamilo/CourseBundle/Entity/CForumNotification.php
  31. 1 0
      src/Chamilo/CourseBundle/Entity/CForumPost.php
  32. 1 0
      src/Chamilo/CourseBundle/Entity/CForumThread.php
  33. 2 1
      src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php
  34. 2 2
      src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php
  35. 1 0
      src/Chamilo/CourseBundle/Entity/CGlossary.php
  36. 2 2
      src/Chamilo/CourseBundle/Entity/CGroupCategory.php
  37. 1 1
      src/Chamilo/CourseBundle/Entity/CGroupInfo.php
  38. 2 1
      src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php
  39. 2 2
      src/Chamilo/CourseBundle/Entity/CGroupRelUser.php
  40. 1 1
      src/Chamilo/CourseBundle/Entity/CItemProperty.php
  41. 2 1
      src/Chamilo/CourseBundle/Entity/CLink.php
  42. 2 2
      src/Chamilo/CourseBundle/Entity/CLinkCategory.php
  43. 2 2
      src/Chamilo/CourseBundle/Entity/CLp.php
  44. 2 1
      src/Chamilo/CourseBundle/Entity/CLpItem.php
  45. 2 1
      src/Chamilo/CourseBundle/Entity/CLpItemView.php
  46. 2 1
      src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php
  47. 2 1
      src/Chamilo/CourseBundle/Entity/CLpIvObjective.php
  48. 2 1
      src/Chamilo/CourseBundle/Entity/CLpView.php
  49. 1 0
      src/Chamilo/CourseBundle/Entity/CNotebook.php
  50. 1 0
      src/Chamilo/CourseBundle/Entity/COnlineConnected.php
  51. 2 2
      src/Chamilo/CourseBundle/Entity/COnlineLink.php
  52. 1 2
      src/Chamilo/CourseBundle/Entity/CPermissionGroup.php
  53. 2 1
      src/Chamilo/CourseBundle/Entity/CPermissionTask.php
  54. 2 2
      src/Chamilo/CourseBundle/Entity/CPermissionUser.php
  55. 2 2
      src/Chamilo/CourseBundle/Entity/CQuiz.php
  56. 2 1
      src/Chamilo/CourseBundle/Entity/CQuizAnswer.php
  57. 2 1
      src/Chamilo/CourseBundle/Entity/CQuizQuestion.php
  58. 2 1
      src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php
  59. 2 2
      src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php
  60. 1 0
      src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php
  61. 1 0
      src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php
  62. 2 2
      src/Chamilo/CourseBundle/Entity/CResource.php
  63. 1 0
      src/Chamilo/CourseBundle/Entity/CRole.php
  64. 2 2
      src/Chamilo/CourseBundle/Entity/CRoleGroup.php
  65. 2 2
      src/Chamilo/CourseBundle/Entity/CRolePermissions.php
  66. 1 0
      src/Chamilo/CourseBundle/Entity/CRoleUser.php
  67. 2 1
      src/Chamilo/CourseBundle/Entity/CStudentPublication.php
  68. 2 1
      src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php
  69. 2 2
      src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php
  70. 2 2
      src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php
  71. 2 1
      src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php
  72. 1 0
      src/Chamilo/CourseBundle/Entity/CSurvey.php
  73. 1 0
      src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php
  74. 2 2
      src/Chamilo/CourseBundle/Entity/CSurveyGroup.php
  75. 1 0
      src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php
  76. 1 0
      src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php
  77. 1 0
      src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php
  78. 2 1
      src/Chamilo/CourseBundle/Entity/CThematic.php
  79. 2 1
      src/Chamilo/CourseBundle/Entity/CThematicAdvance.php
  80. 2 2
      src/Chamilo/CourseBundle/Entity/CThematicPlan.php
  81. 1 1
      src/Chamilo/CourseBundle/Entity/CTool.php
  82. 2 2
      src/Chamilo/CourseBundle/Entity/CToolIntro.php
  83. 2 1
      src/Chamilo/CourseBundle/Entity/CUserinfoContent.php
  84. 2 1
      src/Chamilo/CourseBundle/Entity/CUserinfoDef.php
  85. 2 1
      src/Chamilo/CourseBundle/Entity/CWiki.php
  86. 1 0
      src/Chamilo/CourseBundle/Entity/CWikiConf.php
  87. 2 2
      src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php
  88. 2 2
      src/Chamilo/CourseBundle/Entity/CWikiMailcue.php

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CAnnouncement.php

@@ -25,7 +25,7 @@ class Announcement
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CAnnouncementAttachment.php

@@ -25,7 +25,7 @@ class CAnnouncementAttachment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CAttendance.php

@@ -32,7 +32,7 @@ class CAttendance
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CAttendanceCalendar.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CAttendanceCalendar
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CAttendanceCalendarRelGroup.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CAttendanceCalendarRelGroup
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CAttendanceResult.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CAttendanceResult
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CAttendanceSheetLog.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CAttendanceSheetLog
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CBlogAttachment.php

@@ -25,7 +25,7 @@ class CBlogAttachment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CBlogComment.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CBlogRating.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CBlogRelUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CBlogTask.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 7 - 6
src/Chamilo/CourseBundle/Entity/CBlogTaskRelUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -29,18 +30,18 @@ class CBlogTaskRelUser
     private $cId;
 
     /**
-     * @var \DateTime
+     * @var integer
      *
-     * @ORM\Column(name="target_date", type="date", nullable=false)
+     * @ORM\Column(name="blog_id", type="integer")
      */
-    private $targetDate;
+    private $blogId;
 
     /**
-     * @var integer
+     * @var \DateTime
      *
-     * @ORM\Column(name="blog_id", type="integer")
+     * @ORM\Column(name="target_date", type="date", nullable=false)
      */
-    private $blogId;
+    private $targetDate;
 
     /**
      * @var integer

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CCalendarEvent.php

@@ -24,7 +24,7 @@ class CCalendarEvent
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CCalendarEventAttachment.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CCalendarEventAttachment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CCalendarEventRepeat.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CChatConnected.php

@@ -25,7 +25,7 @@ class CChatConnected
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CCourseDescription.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CCourseDescription
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CCourseSetting.php

@@ -25,7 +25,7 @@ class CCourseSetting
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CDocument.php

@@ -25,7 +25,7 @@ class CDocument
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CDropboxCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CDropboxFeedback.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CDropboxFile.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CDropboxFile
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CDropboxPerson.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CDropboxPost.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CForumAttachment.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -24,7 +25,7 @@ class CForumAttachment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CForumCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CForumForum.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CForumMailcue.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CForumMailcue
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CForumNotification.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CForumNotification
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CForumPost.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CForumThread.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CForumThreadQualify.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CForumThreadQualify
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CForumThreadQualifyLog.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -32,11 +33,10 @@ class CForumThreadQualifyLog
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CGlossary.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CGroupCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CGroupCategory
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CGroupInfo.php

@@ -25,7 +25,7 @@ class CGroupInfo
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CGroupRelTutor.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CGroupRelTutor
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CGroupRelUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CGroupRelUser
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CItemProperty.php

@@ -25,7 +25,7 @@ class CItemProperty
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLink.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLink
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CLinkCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CLinkCategory
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CLp.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CLp
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLpItem.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLpItem
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLpItemView.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLpItemView
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLpIvInteraction.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLpIvInteraction
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLpIvObjective.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLpIvObjective
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CLpView.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CLpView
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CNotebook.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/COnlineConnected.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/COnlineLink.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class COnlineLink
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 1 - 2
src/Chamilo/CourseBundle/Entity/CPermissionGroup.php

@@ -31,11 +31,10 @@ class CPermissionGroup
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CPermissionTask.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CPermissionTask
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CPermissionUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CPermissionUser
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CQuiz.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CQuiz
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CQuizAnswer.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CQuizAnswer
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CQuizQuestion.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CQuizQuestion
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CQuizQuestionCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CQuizQuestionCategory
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CQuizQuestionOption.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CQuizQuestionOption
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CQuizQuestionRelCategory.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CQuizRelQuestion.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CResource.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CResource
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CRole.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CRoleGroup.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CRoleGroup
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CRolePermissions.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CRolePermissions
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var boolean
      *

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CRoleUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CStudentPublication.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CStudentPublication
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CStudentPublicationAssignment.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CStudentPublicationAssignment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CStudentPublicationComment.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CStudentPublicationComment
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CStudentPublicationRelDocument.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CStudentPublicationRelDocument
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CStudentPublicationRelUser.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CStudentPublicationRelUser
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CSurvey.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CSurveyGroup.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CSurveyGroup
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CSurveyQuestion.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CSurveyQuestionOption.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CThematic.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CThematic
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CThematicAdvance.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CThematicAdvance
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CThematicPlan.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CThematicPlan
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 1 - 1
src/Chamilo/CourseBundle/Entity/CTool.php

@@ -25,7 +25,7 @@ class CTool
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CToolIntro.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CToolIntro
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CUserinfoContent.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CUserinfoContent
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CUserinfoDef.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CUserinfoDef
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 2 - 1
src/Chamilo/CourseBundle/Entity/CWiki.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,7 +32,7 @@ class CWiki
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 

+ 1 - 0
src/Chamilo/CourseBundle/Entity/CWikiConf.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CWikiDiscuss.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CWikiDiscuss
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var integer
      *

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CWikiMailcue.php

@@ -1,4 +1,5 @@
 <?php
+/* For licensing terms, see /license.txt */
 
 namespace Chamilo\CourseBundle\Entity;
 
@@ -31,11 +32,10 @@ class CWikiMailcue
     /**
      * @var integer
      *
-     * @ORM\Column(name="id", type="integer")
+     * @ORM\Column(name="id", type="integer", nullable=true)
      */
     private $id;
 
-
     /**
      * @var string
      *