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

44 lines
876 B

Entity\UserApiKey:
type: entity
table: user_api_key
repositoryClass: Entity\Repository\UserApiKeyRepository
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
user_id:
type: integer
unsigned: false
nullable: false
api_key:
type: string
length: 32
fixed: true
nullable: false
api_service:
type: string
length: 10
fixed: true
nullable: false
api_end_point:
type: text
nullable: true
created_date:
type: datetime
nullable: true
validity_start_date:
type: datetime
nullable: true
validity_end_date:
type: datetime
nullable: true
description:
type: text
nullable: true
lifecycleCallbacks:
prePersist:
- before_save