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

47 lines
923 B

Entity\Message:
type: entity
table: message
repositoryClass: Entity\Repository\MessageRepository
fields:
id:
id: true
type: bigint
nullable: false
generator:
strategy: IDENTITY
user_sender_id:
type: integer
unsigned: false
nullable: false
user_receiver_id:
type: integer
unsigned: false
nullable: false
msg_status:
type: boolean
nullable: false
send_date:
type: datetime
nullable: false
title:
type: string
length: 255
fixed: false
nullable: false
content:
type: text
nullable: false
group_id:
type: integer
unsigned: false
nullable: false
parent_id:
type: integer
unsigned: false
nullable: false
update_date:
type: datetime
nullable: false
lifecycleCallbacks:
prePersist:
- before_save