shikeying
2022-09-27 26f5dd8ef80e5671cda8fc0e6c0d0298c4e678ff
recommend-model-pojo/src/main/java/com/iplatform/model/po/Rc_video_user.java
@@ -20,11 +20,15 @@
    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;
@@ -46,8 +50,8 @@
    /**
     * 根据主键构造对象
     */
    public Rc_video_user(Long user_id) {
        this.setUser_id(user_id);
    public Rc_video_user(Long id) {
        this.setId(id);
    }
    /**
@@ -55,7 +59,21 @@
     */
    @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() {
@@ -120,6 +138,7 @@
    @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)
@@ -137,10 +156,13 @@
        //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());
        }