linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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
package com.ots.project.exam.domain;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ots.framework.aspectj.lang.annotation.Excel;
import com.ots.framework.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import java.util.Date;
 
/**
 * 题目的内容对象 t_text_content
 *
 * @author ots
 * @date 2019-11-24
 */
@Getter
@Setter
public class TTextContent extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * null
     */
    private Long id;
 
    /**
     * null
     */
    @Excel(name = "null")
    private String content;
 
 
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    private Date createTime;
 
 
    public TTextContent() {
    }
 
 
    public TTextContent(String content, Date createTime) {
        this.content = content;
        this.createTime = createTime;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("content", getContent())
                .append("createTime", getCreateTime())
                .toString();
    }
 
    @Override
    public Date getCreateTime() {
        return createTime;
    }
 
    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}