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.CourseCategory.dcm.yml

47 lines
928 B

Entity\CourseCategory:
type: entity
table: course_category
repositoryClass: Entity\Repository\CourseCategoryRepository
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
name:
type: string
length: 100
fixed: false
nullable: false
code:
type: string
length: 40
fixed: false
nullable: false
parent_id:
type: string
length: 40
fixed: false
nullable: true
tree_pos:
type: integer
unsigned: false
nullable: true
children_count:
type: smallint
nullable: true
auth_course_child:
type: string
length: null
fixed: false
nullable: true
auth_cat_child:
type: string
length: null
fixed: false
nullable: true
lifecycleCallbacks:
prePersist:
- before_save