(improvement)(headless&chat)The Chat module only references facade service of the Headless module.

This commit is contained in:
jerryjzhang
2024-07-16 17:53:01 +08:00
parent 1c0b8f8161
commit 782b768950
33 changed files with 83 additions and 58 deletions

View File

@@ -0,0 +1,70 @@
package com.tencent.supersonic.headless.api.pojo;
import com.google.common.base.Objects;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@NoArgsConstructor
public class MetaFilter {
private String id;
private String name;
private String bizName;
private String createdBy;
private List<Long> modelIds;
private Long domainId;
private Long dataSetId;
private Integer sensitiveLevel;
private Integer status;
private String key;
private List<Long> ids;
private List<String> names;
private List<String> fieldsDepend;
private Integer isTag;
public MetaFilter(List<Long> modelIds) {
this.modelIds = modelIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MetaFilter that = (MetaFilter) o;
return Objects.equal(id, that.id) && Objects.equal(name, that.name)
&& Objects.equal(bizName, that.bizName) && Objects.equal(
createdBy, that.createdBy) && Objects.equal(modelIds, that.modelIds)
&& Objects.equal(domainId, that.domainId) && Objects.equal(
dataSetId, that.dataSetId) && Objects.equal(sensitiveLevel, that.sensitiveLevel)
&& Objects.equal(status, that.status) && Objects.equal(key,
that.key) && Objects.equal(ids, that.ids) && Objects.equal(
fieldsDepend, that.fieldsDepend);
}
@Override
public int hashCode() {
return Objects.hashCode(id, name, bizName, createdBy, modelIds, domainId,
dataSetId, sensitiveLevel, status, key, ids, fieldsDepend);
}
}