Each custom object can have up to two master-detail relationships and up to 25 total relationships. The Related To entry can’t be changed after you save the relationship. A profile or a permission set can have an entity, such as Account, with a master-detail relationship.