package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:RC_VIDEO_BATCH *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Rc_video_batch extends BasePo<Rc_video_batch> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Rc_video_batch ROW_MAPPER = new Rc_video_batch();
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String batch_id = null;
|
@JsonIgnore
|
protected boolean isset_batch_id = false;
|
|
private Long user_id = null;
|
@JsonIgnore
|
protected boolean isset_user_id = false;
|
|
private String src_video_id = null;
|
@JsonIgnore
|
protected boolean isset_src_video_id = false;
|
|
private String src_video_path = null;
|
@JsonIgnore
|
protected boolean isset_src_video_path = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Rc_video_batch() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Rc_video_batch(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
// this.setId((Long) value);
|
this.setId(Long.valueOf(String.valueOf(value)));
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == 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;
|
}
|
|
public Long getUser_id() {
|
return this.user_id;
|
}
|
|
public void setUser_id(Long user_id) {
|
this.user_id = user_id;
|
this.isset_user_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUser_id() {
|
return this.user_id == null;
|
}
|
|
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 getSrc_video_path() {
|
return this.src_video_path;
|
}
|
|
public void setSrc_video_path(String src_video_path) {
|
this.src_video_path = src_video_path;
|
this.isset_src_video_path = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_video_path() {
|
return this.src_video_path == null || this.src_video_path.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("batch_id=").append(this.batch_id)
|
.append("user_id=").append(this.user_id)
|
.append("src_video_id=").append(this.src_video_id)
|
.append("src_video_path=").append(this.src_video_path)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Rc_video_batch $clone() {
|
Rc_video_batch rc_video_batch = new Rc_video_batch();
|
|
// 数据库名称
|
//rc_video_batch.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
rc_video_batch.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_batch_id) {
|
rc_video_batch.setBatch_id(this.getBatch_id());
|
}
|
if (this.isset_user_id) {
|
rc_video_batch.setUser_id(this.getUser_id());
|
}
|
if (this.isset_src_video_id) {
|
rc_video_batch.setSrc_video_id(this.getSrc_video_id());
|
}
|
if (this.isset_src_video_path) {
|
rc_video_batch.setSrc_video_path(this.getSrc_video_path());
|
}
|
return rc_video_batch;
|
}
|
}
|