| | |
| | | package com.yeshi.fanli.entity.xcx;
|
| | |
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
| | | @Table("ye_yeshi_strategy_picture")
|
| | | public class StrategyPicture {
|
| | |
|
| | | public static int TYPE_TEXT = 1;
|
| | |
|
| | | public static int TYPE_VIDEO = 2;
|
| | |
|
| | | @Expose
|
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @Column(name = "id")
|
| | | private Long id;
|
| | |
|
| | |
| | | @Column(name = "orderBy")
|
| | | private Integer orderBy;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "type")
|
| | | private Integer type;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "video_url")
|
| | | private String videoUrl;
|
| | |
|
| | | public Integer getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(Integer type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public String getVideoUrl() {
|
| | | return videoUrl;
|
| | | }
|
| | |
|
| | | public void setVideoUrl(String videoUrl) {
|
| | | this.videoUrl = videoUrl;
|
| | | }
|
| | |
|
| | | public String getPostPicture() {
|
| | | return postPicture;
|
| | | }
|