mirror of
https://gitee.com/freshday/radar.git
synced 2026-03-22 04:37:16 +08:00
@@ -0,0 +1,7 @@
|
||||
package com.pgmmers.radar.mapper;
|
||||
|
||||
import com.pgmmers.radar.model.MoldPO;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
public interface MoldMapper extends Mapper<MoldPO> {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.pgmmers.radar.mapper;
|
||||
|
||||
import com.pgmmers.radar.model.MoldParamPO;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
public interface MoldParamMapper extends Mapper<MoldParamPO> {
|
||||
}
|
||||
95
radar-dao/src/main/java/com/pgmmers/radar/model/MoldPO.java
Normal file
95
radar-dao/src/main/java/com/pgmmers/radar/model/MoldPO.java
Normal file
@@ -0,0 +1,95 @@
|
||||
package com.pgmmers.radar.model;
|
||||
|
||||
import javax.persistence.Table;
|
||||
import java.util.Date;
|
||||
|
||||
@Table(name = "engine_mold")
|
||||
public class MoldPO {
|
||||
/**
|
||||
* 自增ID,主键
|
||||
*/
|
||||
private Long id;
|
||||
private Long modelId;
|
||||
/**
|
||||
* 模型名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 模型文件路径
|
||||
*/
|
||||
private String path;
|
||||
private String tag;
|
||||
private String operation;
|
||||
/**
|
||||
* 模型更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
/**
|
||||
* 模型类型
|
||||
*/
|
||||
private String type;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
public Date getUpdateDate() {
|
||||
return updateDate;
|
||||
}
|
||||
|
||||
public void setUpdateDate(Date updateDate) {
|
||||
this.updateDate = updateDate;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Long getModelId() {
|
||||
return modelId;
|
||||
}
|
||||
|
||||
public void setModelId(Long modelId) {
|
||||
this.modelId = modelId;
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public void setTag(String tag) {
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public String getOperation() {
|
||||
return operation;
|
||||
}
|
||||
|
||||
public void setOperation(String operation) {
|
||||
this.operation = operation;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.pgmmers.radar.model;
|
||||
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Table(name = "engine_mold_param")
|
||||
public class MoldParamPO {
|
||||
private Long id;
|
||||
private Long moldId;
|
||||
/**
|
||||
* 参数的key
|
||||
*/
|
||||
private String feed;
|
||||
/**
|
||||
* 取数表达式,英文逗号分隔fields.deviceId,abstractions.log_uid_ip_1_day_qty
|
||||
*/
|
||||
private String expressions;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getMoldId() {
|
||||
return moldId;
|
||||
}
|
||||
|
||||
public void setMoldId(Long moldId) {
|
||||
this.moldId = moldId;
|
||||
}
|
||||
|
||||
public String getFeed() {
|
||||
return feed;
|
||||
}
|
||||
|
||||
public void setFeed(String feed) {
|
||||
this.feed = feed;
|
||||
}
|
||||
|
||||
public String getExpressions() {
|
||||
return expressions;
|
||||
}
|
||||
|
||||
public void setExpressions(String expressions) {
|
||||
this.expressions = expressions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user