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

29 lines
553 B

Entity\Role:
type: entity
table: c_role
repositoryClass: Entity\Repository\RoleRepository
fields:
c_id:
id: true
type: integer
unsigned: false
nullable: false
role_id:
id: true
type: integer
unsigned: false
nullable: false
role_name:
type: string
length: 250
fixed: false
nullable: false
role_comment:
type: text
nullable: true
default_role:
type: boolean
nullable: true
lifecycleCallbacks:
prePersist:
- before_save