2025-01-23 01:14:04 +03:00

20 lines
600 B
Java

package com.alterdekim.game.service;
import com.alterdekim.flash.decompiler.mapper.OutputObjectCallback;
import com.alterdekim.game.entity.GoodClubDancefloor;
import com.alterdekim.game.repository.GoodClubDancefloorRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class GCDService implements OutputObjectCallback {
@Autowired
private GoodClubDancefloorRepository repository;
@Override
public void onOutputObjectReady(Object o) {
this.repository.save((GoodClubDancefloor) o);
}
}