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

47 lines
940 B

Entity\SysAnnouncement:
type: entity
table: sys_announcement
repositoryClass: Entity\Repository\SysAnnouncementRepository
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
date_start:
type: datetime
nullable: false
date_end:
type: datetime
nullable: false
visible_teacher:
type: boolean
nullable: false
visible_student:
type: boolean
nullable: false
visible_guest:
type: boolean
nullable: false
title:
type: string
length: 250
fixed: false
nullable: false
content:
type: text
nullable: false
lang:
type: string
length: 70
fixed: false
nullable: true
access_url_id:
type: integer
unsigned: false
nullable: false
lifecycleCallbacks:
prePersist:
- before_save