CellComment.java 10 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1
package pwc.taxtech.atms.vat.entity;
2 3 4 5 6 7 8

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
9
 * This class corresponds to the database table cell_comment
10 11 12 13 14 15 16
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class CellComment implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
17
     * This field corresponds to the database column cell_comment.id
18 19 20
     *
     * @mbg.generated
     */
21
    private Long id;
22 23 24 25

    /**
     *
     * This field was generated by MyBatis Generator.
26
     * This field corresponds to the database column cell_comment.cell_data_id
27 28 29
     *
     * @mbg.generated
     */
30
    private Long cellDataId;
31 32 33 34

    /**
     *
     * This field was generated by MyBatis Generator.
35
     * This field corresponds to the database column cell_comment.user_id
36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    private String userId;

    /**
     *
     * This field was generated by MyBatis Generator.
44
     * This field corresponds to the database column cell_comment.user_name
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private String userName;

    /**
     *
     * This field was generated by MyBatis Generator.
53
     * This field corresponds to the database column cell_comment.comment
54 55 56 57 58 59 60 61
     *
     * @mbg.generated
     */
    private String comment;

    /**
     *
     * This field was generated by MyBatis Generator.
62
     * This field corresponds to the database column cell_comment.reply_to_user_name
63 64 65 66 67 68 69 70
     *
     * @mbg.generated
     */
    private String replyToUserName;

    /**
     *
     * This field was generated by MyBatis Generator.
71
     * This field corresponds to the database column cell_comment.create_time
72 73 74 75 76 77 78 79
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
80
     * This field corresponds to the database column cell_comment.update_time
81 82 83 84 85 86
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
87 88 89 90 91 92 93 94 95 96
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cell_comment.create_by
     *
     * @mbg.generated
     */
    private String createBy;

    /**
     *
97
     * This field was generated by MyBatis Generator.
98 99 100 101 102 103 104 105 106
     * This field corresponds to the database column cell_comment.update_by
     *
     * @mbg.generated
     */
    private String updateBy;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table cell_comment
107 108 109 110 111 112 113
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
114
     * This method returns the value of the database column cell_comment.id
115
     *
116
     * @return the value of cell_comment.id
117 118 119
     *
     * @mbg.generated
     */
120 121
    public Long getId() {
        return id;
122 123 124 125
    }

    /**
     * This method was generated by MyBatis Generator.
126
     * This method sets the value of the database column cell_comment.id
127
     *
128
     * @param id the value for cell_comment.id
129 130 131
     *
     * @mbg.generated
     */
132 133
    public void setId(Long id) {
        this.id = id;
134 135 136 137
    }

    /**
     * This method was generated by MyBatis Generator.
138
     * This method returns the value of the database column cell_comment.cell_data_id
139
     *
140
     * @return the value of cell_comment.cell_data_id
141 142 143
     *
     * @mbg.generated
     */
144
    public Long getCellDataId() {
145 146 147 148 149
        return cellDataId;
    }

    /**
     * This method was generated by MyBatis Generator.
150
     * This method sets the value of the database column cell_comment.cell_data_id
151
     *
152
     * @param cellDataId the value for cell_comment.cell_data_id
153 154 155
     *
     * @mbg.generated
     */
156 157
    public void setCellDataId(Long cellDataId) {
        this.cellDataId = cellDataId;
158 159 160 161
    }

    /**
     * This method was generated by MyBatis Generator.
162
     * This method returns the value of the database column cell_comment.user_id
163
     *
164
     * @return the value of cell_comment.user_id
165 166 167 168 169 170 171 172 173
     *
     * @mbg.generated
     */
    public String getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
174
     * This method sets the value of the database column cell_comment.user_id
175
     *
176
     * @param userId the value for cell_comment.user_id
177 178 179 180 181 182 183 184 185
     *
     * @mbg.generated
     */
    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
186
     * This method returns the value of the database column cell_comment.user_name
187
     *
188
     * @return the value of cell_comment.user_name
189 190 191 192 193 194 195 196 197
     *
     * @mbg.generated
     */
    public String getUserName() {
        return userName;
    }

    /**
     * This method was generated by MyBatis Generator.
198
     * This method sets the value of the database column cell_comment.user_name
199
     *
200
     * @param userName the value for cell_comment.user_name
201 202 203 204 205 206 207 208 209
     *
     * @mbg.generated
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
210
     * This method returns the value of the database column cell_comment.comment
211
     *
212
     * @return the value of cell_comment.comment
213 214 215 216 217 218 219 220 221
     *
     * @mbg.generated
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
222
     * This method sets the value of the database column cell_comment.comment
223
     *
224
     * @param comment the value for cell_comment.comment
225 226 227 228 229 230 231 232 233
     *
     * @mbg.generated
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
234
     * This method returns the value of the database column cell_comment.reply_to_user_name
235
     *
236
     * @return the value of cell_comment.reply_to_user_name
237 238 239 240 241 242 243 244 245
     *
     * @mbg.generated
     */
    public String getReplyToUserName() {
        return replyToUserName;
    }

    /**
     * This method was generated by MyBatis Generator.
246
     * This method sets the value of the database column cell_comment.reply_to_user_name
247
     *
248
     * @param replyToUserName the value for cell_comment.reply_to_user_name
249 250 251 252 253 254 255 256 257
     *
     * @mbg.generated
     */
    public void setReplyToUserName(String replyToUserName) {
        this.replyToUserName = replyToUserName == null ? null : replyToUserName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
258
     * This method returns the value of the database column cell_comment.create_time
259
     *
260
     * @return the value of cell_comment.create_time
261 262 263 264 265 266 267 268 269
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
270
     * This method sets the value of the database column cell_comment.create_time
271
     *
272
     * @param createTime the value for cell_comment.create_time
273 274 275 276 277 278 279 280 281
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
282
     * This method returns the value of the database column cell_comment.update_time
283
     *
284
     * @return the value of cell_comment.update_time
285 286 287 288 289 290 291 292 293
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
294
     * This method sets the value of the database column cell_comment.update_time
295
     *
296
     * @param updateTime the value for cell_comment.update_time
297 298 299 300 301 302 303 304 305
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
     * This method returns the value of the database column cell_comment.create_by
     *
     * @return the value of cell_comment.create_by
     *
     * @mbg.generated
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cell_comment.create_by
     *
     * @param createBy the value for cell_comment.create_by
     *
     * @mbg.generated
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cell_comment.update_by
     *
     * @return the value of cell_comment.update_by
     *
     * @mbg.generated
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cell_comment.update_by
     *
     * @param updateBy the value for cell_comment.update_by
     *
     * @mbg.generated
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cell_comment
355 356 357 358 359 360 361 362 363
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
364
        sb.append(", id=").append(id);
365 366 367 368 369 370 371
        sb.append(", cellDataId=").append(cellDataId);
        sb.append(", userId=").append(userId);
        sb.append(", userName=").append(userName);
        sb.append(", comment=").append(comment);
        sb.append(", replyToUserName=").append(replyToUserName);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
372 373
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
374 375 376 377
        sb.append("]");
        return sb.toString();
    }
}