| | |
| | | public static final Rc_video_user ROW_MAPPER = new Rc_video_user(); |
| | | |
| | | // 主键 |
| | | private Long id = null; |
| | | @JsonIgnore |
| | | protected boolean isset_id = false; |
| | | |
| | | // 属性列表 |
| | | private Long user_id = null; |
| | | @JsonIgnore |
| | | protected boolean isset_user_id = false; |
| | | |
| | | // 属性列表 |
| | | private String video_id = null; |
| | | @JsonIgnore |
| | | protected boolean isset_video_id = false; |
| | |
| | | /** |
| | | * 根据主键构造对象 |
| | | */ |
| | | public Rc_video_user(Long user_id) { |
| | | this.setUser_id(user_id); |
| | | public Rc_video_user(Long id) { |
| | | this.setId(id); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Override |
| | | public void setPkValue(Object value) { |
| | | this.setUser_id((Long) value); |
| | | this.setId((Long) 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 Long getUser_id() { |
| | |
| | | @Override |
| | | public String toString() { |
| | | return new StringBuilder() |
| | | .append("id=").append(this.id) |
| | | .append("user_id=").append(this.user_id) |
| | | .append("video_id=").append(this.video_id) |
| | | .append("score=").append(this.score) |
| | |
| | | //rc_video_user.setDatabaseName_(this.getDatabaseName_()); |
| | | |
| | | // 主键 |
| | | if (this.isset_id) { |
| | | rc_video_user.setId(this.getId()); |
| | | } |
| | | // 普通属性 |
| | | 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()); |
| | | } |