草庐IT

ProducerTranslation

全部标签

php - Doctrine YML 映射引用

解析商店实体“生产者”,其中包括带有属于该实体的翻译的数组。保存数据库成功。但是,在包含翻译的表中缺少指向“生产者”表的链接。这个结果:我的制作人:+----+----+|id|code|+----+----+|1|abcd|+----+----+my_producer_translations+----+-----------+----+------+|id|id_producer|name|locale|+----+-----------+----+------+|1|NULL|abcd|en|+----+-----------+----+------+|2|NULL|abcd|d