资源分类优化

This commit is contained in:
none
2023-02-26 17:12:16 +08:00
parent 5672c70ccb
commit 97bed52b2f
5 changed files with 87 additions and 34 deletions

View File

@@ -0,0 +1,27 @@
package xyz.playedu.api.event;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import java.util.Date;
/**
* @Author 杭州白书科技有限公司
* @create 2023/2/26 17:10
*/
@Getter
@Setter
public class ResourceCategoryDestroyEvent extends ApplicationEvent {
private Integer adminId;
private Integer categoryId;
private Date date;
public ResourceCategoryDestroyEvent(Object source, Integer adminId, Integer categoryId, Date date) {
super(source);
this.adminId = adminId;
this.categoryId = categoryId;
this.date = date;
}
}