Task #5177 Create model and relationship