Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
User、Address、OrderProductの3つのクラスがあるとします。
ユーザーには、名前、電話番号、住所などのフィールドがあります。ここで、addressはAddressのインスタンスです。
製品の注文を処理するクラスであるOrderProductがUserに格納されているアドレスを必要とする場合、Userをコラボレーターとしてリストするだけですか、それともUserクラスにアドレスクラスが含まれているので、Addressクラスをコラボレーターとして含める必要がありますか?
アドレスを取得するために必要なので、ユーザーだけです。アドレス自体は単なるデータです。