diff --git a/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java b/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java index 5ce8bd9..49d9a52 100644 --- a/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java +++ b/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java @@ -48,9 +48,6 @@ public class AlertDefineMonitorBind { @Column(name = "monitor_id") private Long monitorId; - @ApiModelProperty(value = "租户ID", example = "42343", accessMode = READ_WRITE, position = 3) - private Long tenantId; - @ApiModelProperty(value = "记录创建时间(毫秒时间戳)", example = "1612198922000", accessMode = READ_ONLY, position = 4) @Column(insertable = false, updatable = false) private LocalDateTime gmtCreate; diff --git a/script/sql/schema.sql b/script/sql/schema.sql index 1eae7e5..ccf5e4a 100644 --- a/script/sql/schema.sql +++ b/script/sql/schema.sql @@ -96,7 +96,6 @@ CREATE TABLE alert_define_monitor_bind id bigint not null auto_increment comment '告警定义与监控关联ID', alert_define_id bigint not null comment '告警定义ID', monitor_id bigint not null comment '监控ID', - monitor_name varchar(100) not null comment '监控的名称(拢余字段方便展示)', gmt_create timestamp default current_timestamp comment 'create time', gmt_update datetime default current_timestamp on update current_timestamp comment 'update time', primary key (id),