Skip to content

Instantly share code, notes, and snippets.

@robzienert
Created May 4, 2011 16:10
Show Gist options
  • Select an option

  • Save robzienert/955487 to your computer and use it in GitHub Desktop.

Select an option

Save robzienert/955487 to your computer and use it in GitHub Desktop.
Irdeto\Portal\Model\AbstractPortlet:
type: mappedSuperclass
table: portal_page_portlets
inheritanceType: SINGLE_TABLE
discriminatorColumn:
name: name
type: string
length: 255
discriminatorMap:
portlet: Irdeto\Portal\Entity\Portlet
id:
id:
column: portal_page_portlet_id
type: integer
generator:
strategy: AUTO
fields:
title:
type: string
columnIndex:
column: column_index
type: integer
sortIndex:
column: sort_index
type: integer
isActive:
column: is_active
type: boolean
dateCreated:
column: date_created
type: datetime
dateModified:
column: date_modified
type: datetime
manyToOne:
page:
targetEntity: Irdeto\Portal\Entity\Page
joinColumn:
name: portal_page_id
referencedColumnName: portal_page_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment