[manager] 消息策略实体字段问题
This commit is contained in:
@@ -42,17 +42,16 @@ public class NoticeRule {
|
|||||||
@ApiModelProperty(value = "策略名称", example = "dispatch-1", accessMode = READ_WRITE, position = 1)
|
@ApiModelProperty(value = "策略名称", example = "dispatch-1", accessMode = READ_WRITE, position = 1)
|
||||||
@Length(max = 100)
|
@Length(max = 100)
|
||||||
@NotNull
|
@NotNull
|
||||||
private Long name;
|
private String name;
|
||||||
|
|
||||||
@ApiModelProperty(value = "接收人ID", example = "4324324", accessMode = READ_WRITE, position = 2)
|
@ApiModelProperty(value = "接收人ID", example = "4324324", accessMode = READ_WRITE, position = 2)
|
||||||
@Length(max = 100)
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private Long receiverId;
|
private Long receiverId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "接收人标识", example = "tom", accessMode = READ_WRITE, position = 3)
|
@ApiModelProperty(value = "接收人标识", example = "tom", accessMode = READ_WRITE, position = 3)
|
||||||
@Length(max = 100)
|
@Length(max = 100)
|
||||||
@NotNull
|
@NotNull
|
||||||
private Long receiverName;
|
private String receiverName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "是否启用此策略", example = "true", accessMode = READ_WRITE, position = 4)
|
@ApiModelProperty(value = "是否启用此策略", example = "true", accessMode = READ_WRITE, position = 4)
|
||||||
private boolean enable = true;
|
private boolean enable = true;
|
||||||
|
|||||||
@@ -130,8 +130,8 @@ CREATE TABLE notice_rule
|
|||||||
(
|
(
|
||||||
id bigint not null auto_increment comment '通知策略主键索引ID',
|
id bigint not null auto_increment comment '通知策略主键索引ID',
|
||||||
name varchar(100) not null comment '策略名称',
|
name varchar(100) not null comment '策略名称',
|
||||||
receiverId bigint not null comment '消息接收人ID',
|
receiver_id bigint not null comment '消息接收人ID',
|
||||||
receiverName varchar(100) not null comment '消息接收人标识',
|
receiver_name varchar(100) not null comment '消息接收人标识',
|
||||||
enable boolean not null default true comment '是否启用此策略',
|
enable boolean not null default true comment '是否启用此策略',
|
||||||
filter_all boolean not null default true comment '是否转发所有',
|
filter_all boolean not null default true comment '是否转发所有',
|
||||||
creator varchar(100) comment '创建者',
|
creator varchar(100) comment '创建者',
|
||||||
|
|||||||
Reference in New Issue
Block a user