日志行为识别去掉App_label字段,增加五个标签

LABEL_PROTO_ID
LABEL_OS_ID
LABEL_BS_ID
LABEL_BEHAV_ID
LABEL_APP_ID
This commit is contained in:
zhanghongqing
2018-08-13 17:26:16 +08:00
parent 84d548b6fd
commit b8d742e11c
6 changed files with 85 additions and 8 deletions

View File

@@ -13,8 +13,13 @@ import com.wordnik.swagger.annotations.ApiModelProperty;
*/
public class DkBehaviorLog extends BaseLogEntity<DkBehaviorLog> {
private static final long serialVersionUID = -589390375816690510L;
@ApiModelProperty(value = "协议标签", required = true)
protected String appLabel;
protected Integer labelProtoId; //协议类型id
protected Integer labelOsId;//操作系统id
protected Integer labelBsId; //浏览器id
protected Integer labelBehavId; //行为id
protected Integer labelAppId; //应用id
@ApiModelProperty(value = "c2s包数", required = true)
protected String c2sPktNum;
@ApiModelProperty(value = "s2c包数", required = true)
@@ -24,11 +29,36 @@ public class DkBehaviorLog extends BaseLogEntity<DkBehaviorLog> {
@ApiModelProperty(value = "s2c字节数", required = true)
protected String s2cByteNum;
public String getAppLabel() {
return appLabel;
public Integer getLabelProtoId() {
return labelProtoId;
}
public void setAppLabel(String appLabel) {
this.appLabel = appLabel;
public void setLabelProtoId(Integer labelProtoId) {
this.labelProtoId = labelProtoId;
}
public Integer getLabelOsId() {
return labelOsId;
}
public void setLabelOsId(Integer labelOsId) {
this.labelOsId = labelOsId;
}
public Integer getLabelBsId() {
return labelBsId;
}
public void setLabelBsId(Integer labelBsId) {
this.labelBsId = labelBsId;
}
public Integer getLabelBehavId() {
return labelBehavId;
}
public void setLabelBehavId(Integer labelBehavId) {
this.labelBehavId = labelBehavId;
}
public Integer getLabelAppId() {
return labelAppId;
}
public void setLabelAppId(Integer labelAppId) {
this.labelAppId = labelAppId;
}
public String getC2sPktNum() {
return c2sPktNum;