package com.thebluealliance.androidclient.database.writers;
import com.thebluealliance.androidclient.database.Database;
import com.thebluealliance.androidclient.models.Team;
import android.support.annotation.WorkerThread;
import javax.inject.Inject;
public class TeamWriter extends BaseDbWriter<Team> {
@Inject
public TeamWriter(Database db) {
super(db);
}
@Override
@WorkerThread
public void write(Team team, Long lastModified) {
mDb.getTeamsTable().add(team, lastModified);
}
}