The gist of the matter is I want to know the best way to associate the below setup.
(问题的要点是我想知道关联以下设置的最佳方法。)
I have 2 customer models.
(我有2个客户模型。)
Individual Customer
& Corporate Customer
. (Individual Customer
和Corporate Customer
。)
I have another Vehicle
model.
(我有另一个Vehicle
模型。)
Which I would like to maintain separately. (我想单独维护。)
I would like to have a HMT model called VehicleOwner
.
(我想要一个名为VehicleOwner
的HMT模型。)
Which now adds the r/ship of any of the two(2) customers as an owner & the vehicle. (现在,将两(2)个客户中的任何一个的r / ship添加为所有者和车辆。)
The reason for this approach is an architecture design to allow the same vehicle to be migrated to other customers and not have every time a customer wants to add a vehicle;
(之所以采用这种方法,是因为其架构设计允许将同一辆车迁移到其他客户,而不是每次客户都想添加一辆车。)
they keep adding a vehicle even if we have it. (即使我们有车辆,他们也会继续添加。)
My question is this?
(我的问题是这个吗?)
How can I link in the Vehicle Owner. (如何链接车主。)
That the owner can either be an individual customer or a corporate customer. (所有者可以是个人客户也可以是公司客户。)
Or is there another better way to map the two(2) customers with a vehicle.
(还是有另一种更好的方法来用车辆映射两个(2)客户。)
Thanks
(谢谢)
ask by N. Maina translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…