| author | cavaliet |
| Wed, 16 May 2012 18:17:19 +0200 | |
| changeset 96 | be6e1ae3965c |
| parent 74 | 901463f9b11c |
| permissions | -rwxr-xr-x |
|
74
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
1 |
## |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
2 |
# This file is part of the WikiTagBundle package. |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
3 |
# |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
4 |
# (c) IRI <http://www.iri.centrepompidou.fr/> |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
5 |
# |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
6 |
# For the full copyright and license information, please view the LICENSE |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
7 |
# file that was distributed with this source code. |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
8 |
## |
|
901463f9b11c
add headers for public repository release
ymh <ymh.work@gmail.com>
parents:
62
diff
changeset
|
9 |
|
| 2 | 10 |
IRI\Bundle\WikiTagBundle\Entity\Tag: |
11 |
type: entity |
|
12 |
repositoryClass: IRI\Bundle\WikiTagBundle\Entity\TagRepository |
|
13 |
table: wikitag_tag |
|
14 |
fields: |
|
15 |
id: |
|
16 |
type: integer |
|
17 |
id: true |
|
18 |
generator: |
|
19 |
strategy: AUTO |
|
20 |
label: |
|
21 |
type: string |
|
22 |
length: '1024' |
|
23 |
normalizedLabel: |
|
24 |
type: string |
|
25 |
length: '1024' |
|
26 |
column: normalized_label |
|
27 |
originalLabel: |
|
28 |
type: string |
|
29 |
length: '1024' |
|
30 |
column: original_label |
|
|
42
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
31 |
alternativeLabel: |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
32 |
type: string |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
33 |
length: '1024' |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
34 |
column: alternative_label |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
35 |
nullable: true |
| 2 | 36 |
alias: |
37 |
type: string |
|
38 |
length: '1024' |
|
39 |
nullable: true |
|
40 |
wikipediaUrl: |
|
41 |
type: string |
|
42 |
length: '2048' |
|
43 |
column: wikipedia_url |
|
| 8 | 44 |
nullable: true |
|
42
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
45 |
alternativeWikipediaUrl: |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
46 |
type: string |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
47 |
length: '2048' |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
48 |
column: wikipedia_alternative_url |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
49 |
nullable: true |
| 2 | 50 |
wikipediaPageId: |
51 |
type: bigint |
|
|
42
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
52 |
column: wikipedia_pageid |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
53 |
nullable: true |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
54 |
alternativeWikipediaPageId: |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
55 |
type: bigint |
|
0e57c730bb18
Documentation and add alternative wp url and label + migrations
ymh <ymh.work@gmail.com>
parents:
14
diff
changeset
|
56 |
column: alternative_wikipedia_pageid |
| 8 | 57 |
nullable: true |
| 2 | 58 |
urlStatus: |
59 |
type: smallint |
|
60 |
column: url_status |
|
| 8 | 61 |
nullable: true |
| 2 | 62 |
dbpediaUri: |
63 |
type: string |
|
64 |
length: '2048' |
|
65 |
column: dbpedia_uri |
|
| 8 | 66 |
nullable: true |
| 2 | 67 |
popularity: |
68 |
type: integer |
|
|
62
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
42
diff
changeset
|
69 |
createdAt: |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
42
diff
changeset
|
70 |
type: datetime |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
42
diff
changeset
|
71 |
column: created_at |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
42
diff
changeset
|
72 |
nullable: false |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
42
diff
changeset
|
73 |
|
| 2 | 74 |
manyToOne: |
75 |
category: |
|
76 |
targetEntity: Category |
|
|
14
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
8
diff
changeset
|
77 |
oneToMany: |
|
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
8
diff
changeset
|
78 |
documents: |
|
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
8
diff
changeset
|
79 |
targetEntity: DocumentTag |
|
673b2766024e
Update ORM configuration to allow JOIN between Tag and DocumentTag. TagList template has now the number of documents by tag.
cavaliet
parents:
8
diff
changeset
|
80 |
mappedBy: tag |
| 2 | 81 |
lifecycleCallbacks: { } |