我的数据库中有一个“订单”表,其中包含订单运送地址的列,例如shipping_address_street
或shipping_address_city
(旧版,因此无法更改)。我想将这些字段映射到包含地址的所有属性的嵌套Address
对象。
Property order_number maps to column order_number
Property shipping_address contains an object of class `Address`
Property shipping_address.street maps to column shipping_address_street
Property shipping_address.city maps to column shipping_address_city
续集支持吗?
答案 0 :(得分:-1)