feat: 通知公告临时提交
通知公告临时提交
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.youlai.boot.system.model.dto;
|
||||
|
||||
import com.youlai.boot.common.enums.MessageTypeEnum;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 消息载体
|
||||
*
|
||||
* @author Theo
|
||||
* @since 2024-9-2 14:32:58
|
||||
* @version 1.0.0
|
||||
*/
|
||||
@Data
|
||||
public class MessageDTO {
|
||||
|
||||
@Schema(description = "消息内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "发送者")
|
||||
private String sender;
|
||||
|
||||
@Schema(description = "接收者")
|
||||
private List<String> receiver;
|
||||
|
||||
@Schema(description = "消息类型")
|
||||
private MessageTypeEnum messageType;
|
||||
}
|
||||
Reference in New Issue
Block a user