package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:RC_VIDEO_T2 *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Rc_video_t2 extends BasePo<Rc_video_t2> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Rc_video_t2 ROW_MAPPER = new Rc_video_t2();
|
|
// 主键
|
private String id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String src_video_id = null;
|
@JsonIgnore
|
protected boolean isset_src_video_id = false;
|
|
private String sim_video_id = null;
|
@JsonIgnore
|
protected boolean isset_sim_video_id = false;
|
|
private Double score = null;
|
@JsonIgnore
|
protected boolean isset_score = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Rc_video_t2() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Rc_video_t2(String id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((String) value);
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null || this.id.length() == 0;
|
}
|
|
public String getSrc_video_id() {
|
return this.src_video_id;
|
}
|
|
public void setSrc_video_id(String src_video_id) {
|
this.src_video_id = src_video_id;
|
this.isset_src_video_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_video_id() {
|
return this.src_video_id == null || this.src_video_id.length() == 0;
|
}
|
|
public String getSim_video_id() {
|
return this.sim_video_id;
|
}
|
|
public void setSim_video_id(String sim_video_id) {
|
this.sim_video_id = sim_video_id;
|
this.isset_sim_video_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySim_video_id() {
|
return this.sim_video_id == null || this.sim_video_id.length() == 0;
|
}
|
|
public Double getScore() {
|
return this.score;
|
}
|
|
public void setScore(Double score) {
|
this.score = score;
|
this.isset_score = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyScore() {
|
return this.score == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("src_video_id=").append(this.src_video_id)
|
.append("sim_video_id=").append(this.sim_video_id)
|
.append("score=").append(this.score)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Rc_video_t2 $clone() {
|
Rc_video_t2 rc_video_t2 = new Rc_video_t2();
|
|
// 数据库名称
|
//rc_video_t2.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
rc_video_t2.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_src_video_id) {
|
rc_video_t2.setSrc_video_id(this.getSrc_video_id());
|
}
|
if (this.isset_sim_video_id) {
|
rc_video_t2.setSim_video_id(this.getSim_video_id());
|
}
|
if (this.isset_score) {
|
rc_video_t2.setScore(this.getScore());
|
}
|
return rc_video_t2;
|
}
|
}
|