use mixin to save hasmany relationship for mssii/scenario/event/program models