Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/entity/mapping/Entity.QuizAnswer.dcm.yml

59 lines
1.1 KiB

Entity\QuizAnswer:
type: entity
table: c_quiz_answer
repositoryClass: Entity\Repository\QuizAnswerRepository
fields:
c_id:
id: true
type: integer
unsigned: false
nullable: false
id_auto:
id: true
type: integer
unsigned: false
nullable: false
id:
type: integer
unsigned: false
nullable: false
question_id:
type: integer
unsigned: false
nullable: false
answer:
type: text
nullable: false
correct:
type: integer
unsigned: false
nullable: true
comment:
type: text
nullable: true
ponderation:
type: float
nullable: false
position:
type: integer
unsigned: false
nullable: false
hotspot_coordinates:
type: text
nullable: true
hotspot_type:
type: string
length: null
fixed: false
nullable: true
destination:
type: text
nullable: false
answer_code:
type: string
length: 10
fixed: true
nullable: true
lifecycleCallbacks:
prePersist:
- before_save