shikeying
2022-09-23 eb440e88db0f1a2c405a1e256d33df39f091404d
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
175
176
177
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:RC_VIDEO_T1 *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class Rc_video_t1 extends BasePo<Rc_video_t1> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final Rc_video_t1 ROW_MAPPER = new Rc_video_t1();
 
    // 主键
    private String id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private String src_img = null;
    @JsonIgnore
    protected boolean isset_src_img = 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 distance = null;
    @JsonIgnore
    protected boolean isset_distance = false;
 
    /**
     * 默认构造函数
     */
    public Rc_video_t1() {
    }
 
    /**
     * 根据主键构造对象
     */
    public Rc_video_t1(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_img() {
        return this.src_img;
    }
 
    public void setSrc_img(String src_img) {
        this.src_img = src_img;
        this.isset_src_img = true;
    }
 
    @JsonIgnore
    public boolean isEmptySrc_img() {
        return this.src_img == null || this.src_img.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 getDistance() {
        return this.distance;
    }
 
    public void setDistance(Double distance) {
        this.distance = distance;
        this.isset_distance = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDistance() {
        return this.distance == null;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("src_img=").append(this.src_img)
                .append("src_video_id=").append(this.src_video_id)
                .append("sim_video_id=").append(this.sim_video_id)
                .append("distance=").append(this.distance)
                .toString();
    }
 
    /**
     * 克隆
     */
    public Rc_video_t1 $clone() {
        Rc_video_t1 rc_video_t1 = new Rc_video_t1();
 
        // 数据库名称
        //rc_video_t1.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            rc_video_t1.setId(this.getId());
        }
        // 普通属性
        if (this.isset_src_img) {
            rc_video_t1.setSrc_img(this.getSrc_img());
        }
        if (this.isset_src_video_id) {
            rc_video_t1.setSrc_video_id(this.getSrc_video_id());
        }
        if (this.isset_sim_video_id) {
            rc_video_t1.setSim_video_id(this.getSim_video_id());
        }
        if (this.isset_distance) {
            rc_video_t1.setDistance(this.getDistance());
        }
        return rc_video_t1;
    }
}