]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename end field in length
authorRaphaël Gertz <git@rapsys.eu>
Wed, 14 Oct 2020 02:15:57 +0000 (04:15 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 14 Oct 2020 02:15:57 +0000 (04:15 +0200)
Add todo notes about score field to add

Resources/config/doctrine/Application.orm.yml
Resources/config/doctrine/Session.orm.yml

index aaf461f3fe60d114c0fddac60d551140dec4b57a..e65953d92d62a8fa574977d4bf8eaf38cc6b746c 100644 (file)
@@ -10,6 +10,9 @@ Rapsys\AirBundle\Entity\Application:
             options:
                 unsigned: true
     fields:
             options:
                 unsigned: true
     fields:
+#The score computed at attribution time, the sum of all session score divided by proximity in days (1 for sun-thu, 2 for fri-sat, +1 for high temperature, *-1 for bad weather)/abs(DAY(attribution date - session.date))
+#        score:
+#            type: float
         created:
             type: datetime
         updated:
         created:
             type: datetime
         updated:
index 9c89adb927f8e40cbca1eade9459555d8919dab6..68c611682b0e422cc69ed7224c051a5f01f01cae 100644 (file)
@@ -15,9 +15,13 @@ Rapsys\AirBundle\Entity\Session:
         begin:
             type: time
             nullable: true
         begin:
             type: time
             nullable: true
-        end:
+        length:
             type: time
             nullable: true
             type: time
             nullable: true
+#The day score, 1 for sun-thu, 2 for fri-sat, +1 for high temperature, *-1 for bad weather
+#        score:
+#            type: smallint
+#            nullable: true
         created:
             type: datetime
         updated:
         created:
             type: datetime
         updated: