123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- package com.qxgmat.data.dao.entity;
- import java.io.Serializable;
- import java.util.Date;
- import javax.persistence.*;
- @Table(name = "textbook_paper")
- public class TextbookPaper implements Serializable {
- @Id
- @Column(name = "`id`")
- @GeneratedValue(strategy = GenerationType.IDENTITY)
- private Integer id;
- @Column(name = "`create_time`")
- private Date createTime;
- /**
- * 题目编号ids:json
- */
- @Column(name = "`question_no_ids`")
- private String questionNoIds;
- private static final long serialVersionUID = 1L;
- /**
- * @return id
- */
- public Integer getId() {
- return id;
- }
- /**
- * @param id
- */
- public void setId(Integer id) {
- this.id = id;
- }
- /**
- * @return create_time
- */
- public Date getCreateTime() {
- return createTime;
- }
- /**
- * @param createTime
- */
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- /**
- * 获取题目编号ids:json
- *
- * @return question_no_ids - 题目编号ids:json
- */
- public String getQuestionNoIds() {
- return questionNoIds;
- }
- /**
- * 设置题目编号ids:json
- *
- * @param questionNoIds 题目编号ids:json
- */
- public void setQuestionNoIds(String questionNoIds) {
- this.questionNoIds = questionNoIds;
- }
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append(getClass().getSimpleName());
- sb.append(" [");
- sb.append("Hash = ").append(hashCode());
- sb.append(", id=").append(id);
- sb.append(", createTime=").append(createTime);
- sb.append(", questionNoIds=").append(questionNoIds);
- sb.append("]");
- return sb.toString();
- }
- public static TextbookPaper.Builder builder() {
- return new TextbookPaper.Builder();
- }
- public static class Builder {
- private TextbookPaper obj;
- public Builder() {
- this.obj = new TextbookPaper();
- }
- /**
- * @param id
- */
- public Builder id(Integer id) {
- obj.setId(id);
- return this;
- }
- /**
- * @param createTime
- */
- public Builder createTime(Date createTime) {
- obj.setCreateTime(createTime);
- return this;
- }
- /**
- * 设置题目编号ids:json
- *
- * @param questionNoIds 题目编号ids:json
- */
- public Builder questionNoIds(String questionNoIds) {
- obj.setQuestionNoIds(questionNoIds);
- return this;
- }
- public TextbookPaper build() {
- return this.obj;
- }
- }
- }
|