shikeying
2022-09-26 fd03e31f173ad9c52b15a30a9127e2b6a468538d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
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;
 
    private String batch_id = null;
    @JsonIgnore
    protected boolean isset_batch_id = 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;
    }
 
    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;}
 
 
    /**
     * 重写 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)
                .append("batch_id=").append(this.batch_id)
                .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());
        }
        if(this.isset_batch_id){
            rc_video_t2.setBatch_id(this.getBatch_id());
        }
        return rc_video_t2;
    }
}