package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:RC_VIDEO_USER *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Rc_video_user extends BasePo<Rc_video_user> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Rc_video_user ROW_MAPPER = new Rc_video_user();
|
|
// 主键
|
private Long user_id = null;
|
@JsonIgnore
|
protected boolean isset_user_id = false;
|
|
// 属性列表
|
private String video_id = null;
|
@JsonIgnore
|
protected boolean isset_video_id = false;
|
|
private Double score = null;
|
@JsonIgnore
|
protected boolean isset_score = false;
|
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Rc_video_user() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Rc_video_user(Long user_id) {
|
this.setUser_id(user_id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setUser_id((Long) value);
|
}
|
|
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 getVideo_id() {
|
return this.video_id;
|
}
|
|
public void setVideo_id(String video_id) {
|
this.video_id = video_id;
|
this.isset_video_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyVideo_id() {
|
return this.video_id == null || this.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;
|
}
|
|
public Long getCreate_time() {
|
return this.create_time;
|
}
|
|
public void setCreate_time(Long create_time) {
|
this.create_time = create_time;
|
this.isset_create_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_time() {
|
return this.create_time == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("user_id=").append(this.user_id)
|
.append("video_id=").append(this.video_id)
|
.append("score=").append(this.score)
|
.append("create_time=").append(this.create_time)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Rc_video_user $clone() {
|
Rc_video_user rc_video_user = new Rc_video_user();
|
|
// 数据库名称
|
//rc_video_user.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_user_id) {
|
rc_video_user.setUser_id(this.getUser_id());
|
}
|
// 普通属性
|
if (this.isset_video_id) {
|
rc_video_user.setVideo_id(this.getVideo_id());
|
}
|
if (this.isset_score) {
|
rc_video_user.setScore(this.getScore());
|
}
|
if (this.isset_create_time) {
|
rc_video_user.setCreate_time(this.getCreate_time());
|
}
|
return rc_video_user;
|
}
|
}
|