App用户消息配置迁移
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package com.njcn.user.pojo.param;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/8/21 10:17
|
||||
*/
|
||||
@Data
|
||||
public class AppInfoSetParam {
|
||||
|
||||
@ApiModelProperty(value = "事件消息模块")
|
||||
private Integer eventInfo;
|
||||
|
||||
@ApiModelProperty(value = "数据消息模块")
|
||||
private Integer dataInfo;
|
||||
|
||||
@ApiModelProperty(value = "终端消息模块")
|
||||
private Integer deviceInfo;
|
||||
|
||||
@ApiModelProperty(value = "系统消息模块")
|
||||
private Integer systemInfo;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public static class AppInfoSetUpdateParam extends AppInfoSetParam {
|
||||
|
||||
@ApiModelProperty("用户id")
|
||||
private String userId;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.njcn.user.pojo.po.app;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author xuyang
|
||||
* @since 2023-08-21
|
||||
*/
|
||||
@Data
|
||||
@TableName("app_info_set")
|
||||
public class AppInfoSet {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户索引
|
||||
*/
|
||||
@TableId("user_id")
|
||||
@ApiModelProperty("用户索引")
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 0:关闭 ;1:开启 事件消息模块
|
||||
*/
|
||||
@ApiModelProperty("事件消息模块")
|
||||
private Integer eventInfo;
|
||||
|
||||
/**
|
||||
* 0:关闭 ;1:开启 数据消息模块
|
||||
*/
|
||||
@ApiModelProperty("数据消息模块")
|
||||
private Integer dataInfo;
|
||||
|
||||
/**
|
||||
* 0:关闭 ;1:开启 终端消息模块
|
||||
*/
|
||||
@ApiModelProperty("终端消息模块")
|
||||
private Integer deviceInfo;
|
||||
|
||||
/**
|
||||
* 0:关闭 ;1:开启 系统消息模块
|
||||
*/
|
||||
@ApiModelProperty("系统消息模块")
|
||||
private Integer systemInfo;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user