package org.fanli.facade.user.entity.invite;
|
|
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 javax.persistence.Transient;
|
|
import com.google.gson.annotations.Expose;
|
|
@Entity
|
@Table(name = "yeshi_ec_spread_user_img")
|
public class SpreadUserImg {
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "si_id")
|
@Expose
|
private long id;
|
|
@Column(name = "si_uid")
|
@Expose
|
private Long uid;
|
|
@Column(name = "si_type")
|
@Expose
|
private Integer type;
|
|
@Expose
|
@Column(name="si_url")
|
private String url;
|
|
@Expose
|
@Column(name="si_createtime")
|
private Date createtime;
|
|
@Transient
|
private String md5;
|
|
public String getMd5() {
|
return md5;
|
}
|
|
public void setMd5(String md5) {
|
this.md5 = md5;
|
}
|
|
public long getId() {
|
return id;
|
}
|
|
public void setId(long id) {
|
this.id = id;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public String getUrl() {
|
return url;
|
}
|
|
public void setUrl(String url) {
|
this.url = url;
|
}
|
|
public Date getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(Date createtime) {
|
this.createtime = createtime;
|
}
|
|
}
|