Entity\BlogAttachment:
  type: entity
  table: c_blog_attachment
  repositoryClass: Entity\Repository\BlogAttachmentRepository
  fields:
    c_id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    id:
      id: true
      type: integer
      unsigned: false
      nullable: false
    path:
      type: string
      length: 255
      fixed: false
      nullable: false
    comment:
      type: text
      nullable: true
    size:
      type: integer
      unsigned: false
      nullable: false
    post_id:
      type: integer
      unsigned: false
      nullable: false
    filename:
      type: string
      length: 255
      fixed: false
      nullable: false
    blog_id:
      type: integer
      unsigned: false
      nullable: false
    comment_id:
      type: integer
      unsigned: false
      nullable: false
  lifecycleCallbacks:
    prePersist:
      - before_save
