我想以“工厂”管理人员访问的模式。
我有4个制约因素想要执行:
在任何访问中,有一位参加此次访问的管理人员。
manager can visit in the same factory more that one time, but in diffrent days.
管理人员可以在白天访问许多工厂。
一次访问可在工厂进行,最多。
下面表一是:
visit-Factory(Name Factory, date, during, summary)
\where Name Factory, date are PK
visit-manager(Name Factory, data, manager)
\ where Name Factory, date, manager are pk
This enforce the 3 last, but the first is not enforced.
任何想法? 增 编