|
@@ -9,19 +9,21 @@ import org.springframework.context.ApplicationEvent;
|
|
|
*/
|
|
|
public class StudentCourseChangeEvent extends ApplicationEvent {
|
|
|
|
|
|
- private Integer userId;
|
|
|
+ private Integer[] userIds;
|
|
|
|
|
|
private String groupId;
|
|
|
|
|
|
private GroupType groupType;
|
|
|
|
|
|
- public StudentCourseChangeEvent(Object source, Integer userId, String groupId, GroupType groupType) {
|
|
|
+ public StudentCourseChangeEvent(Object source, String groupId, GroupType groupType, Integer... userIds) {
|
|
|
super(source);
|
|
|
- this.userId = userId;
|
|
|
+ this.userIds = userIds;
|
|
|
+ this.groupId = groupId;
|
|
|
+ this.groupType = groupType;
|
|
|
}
|
|
|
|
|
|
- public Integer getUserId() {
|
|
|
- return userId;
|
|
|
+ public Integer[] getUserId() {
|
|
|
+ return userIds;
|
|
|
}
|
|
|
|
|
|
public String getGroupId() {
|