Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
【EC-CUBE3】会員情報の項目を追加する方法
Plugin\Profile\Entity\Profile:
type: entity
table: plg_profile
repositoryClass: Plugin\Profile\Repository\ProfileRepository
id:
id:
type: integer
nullable: false
id: true
column: profile_id
generator:
strategy: AUTO
options:
unsigned: true
fields:
nickname:
type: string
nullable: true
length: 100
oneToOne:
Customer:
targetEntity: Eccube\Entity\Customer
joinColumn:
name: customer_id
referencedColumnName: customer_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