sxwz2.0/src/main/java/art/kexue/sxwz/entity/dto/EduSchoolDto.java
wangzhiwei 5f5c0759ce feat(notification): 实现通知功能,支持角色层级发送和课程群发
1. 修改 SysNotification 实体,新增 senderId, senderName, targetType 字段

2. 新增 SendNotificationRequest 请求DTO

3. 扩展通知类型至6种(新增用户通知、课程通知)

4. 实现角色层级权限控制,支持多级管理员通知下级

5. 支持老师群发课程通知给学生

6. 新增批量发送接口和权限配置
2026-05-15 16:57:07 +08:00

30 lines
732 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package art.kexue.sxwz.entity.dto;
import art.kexue.sxwz.entity.base.BaseQueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
@Data
@ApiModel
public class EduSchoolDto extends BaseQueryDto implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "主键ID")
private Long id;
@Schema(description = "学校名称")
private String schoolName;
@Schema(description = "网址")
private String website;
@Schema(description = "联系电话")
private String contactPhone;
@Schema(description = "状态0-禁用1-启用")
private Integer status;
}