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 = "strategyPicture")
|
private String strategyPicture;
|
|
@Expose
|
@Column(name = "post_picture")
|
private String postPicture;
|
|
@Expose
|
@Column(name = "title")
|
private String title;
|
|
@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;
|
}
|
|
public void setPostPicture(String postPicture) {
|
this.postPicture = postPicture;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public Integer getOrderBy() {
|
return orderBy;
|
}
|
|
public void setOrderBy(Integer orderBy) {
|
this.orderBy = orderBy;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getStrategyPicture() {
|
return strategyPicture;
|
}
|
|
public void setStrategyPicture(String strategyPicture) {
|
this.strategyPicture = strategyPicture;
|
}
|
|
}
|