From fd03e31f173ad9c52b15a30a9127e2b6a468538d Mon Sep 17 00:00:00 2001 From: shikeying <shikeying@163.com> Date: 星期一, 26 九月 2022 18:50:33 +0800 Subject: [PATCH] 视频相似度分析2 --- recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_t2.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_t2.java b/recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_t2.java index f091da4..71a3eb3 100644 --- a/recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_t2.java +++ b/recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_t2.java @@ -37,6 +37,10 @@ @JsonIgnore protected boolean isset_score = false; + private String batch_id = null; + @JsonIgnore + protected boolean isset_batch_id = false; + /** * 榛樿鏋勯�犲嚱鏁� */ @@ -114,6 +118,17 @@ return this.score == null; } + public String getBatch_id(){return this.batch_id;} + + public void setBatch_id(String batch_id){ + this.batch_id = batch_id; + this.isset_batch_id = true; + } + + @JsonIgnore + public boolean isEmptyBatch_id(){return this.batch_id == null || this.batch_id.length() == 0;} + + /** * 閲嶅啓 toString() 鏂规硶 */ @@ -124,6 +139,7 @@ .append("src_video_id=").append(this.src_video_id) .append("sim_video_id=").append(this.sim_video_id) .append("score=").append(this.score) + .append("batch_id=").append(this.batch_id) .toString(); } @@ -150,6 +166,9 @@ if (this.isset_score) { rc_video_t2.setScore(this.getScore()); } + if(this.isset_batch_id){ + rc_video_t2.setBatch_id(this.getBatch_id()); + } return rc_video_t2; } } -- Gitblit v1.9.1