Entity\ReservationSubscription: type: entity table: reservation_subscription repositoryClass: Entity\Repository\ReservationSubscriptionRepository fields: dummy: id: true type: integer unsigned: false nullable: false generator: strategy: IDENTITY user_id: type: integer unsigned: false nullable: false reservation_id: type: integer unsigned: false nullable: false accepted: type: boolean nullable: false start_at: type: datetime nullable: false end_at: type: datetime nullable: false lifecycleCallbacks: prePersist: - before_save