| | |
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.Table;
|
| | |
|
| | | import org.hibernate.annotations.Type;
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | @Entity
|
| | | @Table(name="`yeshi_ec_history_search`")
|
| | | @Table("`yeshi_ec_history_search`")
|
| | | public class HistorySearch {
|
| | | @Id
|
| | | @GeneratedValue(strategy=GenerationType.AUTO)
|
| | | @Column(name="id")
|
| | | private Long id;
|
| | | @Column(name="`name`")
|
| | | |
| | | @Column(name="name")
|
| | | @Expose
|
| | | private String name;
|
| | | @Column(name="`businessId`")
|
| | | |
| | | @Column(name="businessId")
|
| | | private String businessId;
|
| | | @Column(name="`state`",length=2)
|
| | | |
| | | @Column(name="state")
|
| | | private int state;
|
| | | @Type(type="date")
|
| | | |
| | | @Column(name="createtime")
|
| | | private Date createtime;
|
| | |
|
| | | public Long getId() {
|