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

56 lines
1.1 KiB

Entity\ForumPost:
type: entity
table: c_forum_post
repositoryClass: Entity\Repository\ForumPostRepository
fields:
c_id:
id: true
type: integer
unsigned: false
nullable: false
post_id:
id: true
type: integer
unsigned: false
nullable: false
post_title:
type: string
length: 250
fixed: false
nullable: true
post_text:
type: text
nullable: true
thread_id:
type: integer
unsigned: false
nullable: true
forum_id:
type: integer
unsigned: false
nullable: true
poster_id:
type: integer
unsigned: false
nullable: true
poster_name:
type: string
length: 100
fixed: false
nullable: true
post_date:
type: datetime
nullable: true
post_notification:
type: boolean
nullable: true
post_parent_id:
type: integer
unsigned: false
nullable: true
visible:
type: boolean
nullable: true
lifecycleCallbacks:
prePersist:
- before_save