| | |
| | | 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.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("createTime", getCreateTime()) |
| | | .toString(); |
| | | } |
| | | |
| | | @Override |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | @Override |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |