task#5002 Create model and relationship