Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Garethp\PhotosBundle\Entity\Photo:
- type: entity
- table: photos
- id:
- id:
- type: integer
- id: true
- generator:
- strategy: AUTO
- fields:
- title:
- type: string
- length: 255
- nullable: true
- filename:
- type: string
- length: 255
- timestamp:
- type: datetime
- lifecycleCallbacks:
- prePersist: [ preUpload ]
- postPersist: [ upload ]
- preUpdate: [ preUpload ]
- postUpdate: [ upload ]
- preRemove: [ storeFilenameForRemove ]
- postRemove: [ removeUpload ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement