com.didiglobal.logi.security.common.dto.message.MessageDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.dto.message;
import lombok.Data;
/**
* @author cjm
*/
@Data
public class MessageDTO {
/**
* 消息标题
*/
private String title;
/**
* 消息内容
*/
private String content;
/**
* 操作日志id
*/
private Integer oplogId;
/**
* 消息所属用户id
*/
private Integer userId;
public MessageDTO(Integer userId, Integer oplogId) {
this.userId = userId;
this.oplogId = oplogId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy