public Activity(Team team, String text) { teamId(team.teamId()); teamName(team.teamName()); text(text); createdDate(new Date()); }
public void bindTeam(Team team) { if (team == null) return; _teamId = team.teamId(); _teamName = team.teamName(); }