merimmurtic / bh-fantasy

0 stars 0 forks source link

Add property type to League which can be (REGULAR, FANTASY). It will be discriminator value. Update League to abstract class and create two implementations RegularLeague and FantasyLeague. League should not contain rounds inside, it should be part of RegularLeague. FantasyLeague should contain field referencedLeague of type League. Update LeagueController.createLeague to use these new fields. #22

Open nirm3l opened 5 years ago