App用户消息配置迁移

This commit is contained in:
2023-08-28 12:31:56 +08:00
parent e84b6d6698
commit 04960a3911
8 changed files with 234 additions and 9 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}