Created
April 18, 2017 12:59
-
-
Save kurozumi/79ea9e86cee6275a642a2d4994f34daa to your computer and use it in GitHub Desktop.
【EC-CUBE3】商品情報を拡張するためのyamlのサンプルファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plugin\ProductProfile\Entity\ProductProfile: | |
type: entity | |
table: plg_product_profile | |
repositoryClass: Plugin\ProductProfile\Repository\ProductProfileRepository | |
id: | |
id: | |
type: integer | |
nullable: false | |
id: true | |
column: product_profile_id | |
generator: | |
strategy: AUTO | |
options: | |
unsigned: true | |
fields: | |
headline: | |
type: string | |
nullable: true | |
length: 50 | |
product_id: | |
type: integer | |
nullable: false | |
unsigned: false | |
manyToOne: | |
Product: | |
targetEntity: Eccube\Entity\Product | |
joinColumn: | |
name: product_id | |
referencedColumnName: product_id | |
nullable: false | |
options: | |
unsigned: true | |
lifecycleCallbacks: { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment