From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/invite/SpreadUserImg.java | 176 ++++++++++++++++++++++++++++------------------------------ 1 files changed, 84 insertions(+), 92 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/invite/SpreadUserImg.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/invite/SpreadUserImg.java index 31f0d6b..ddfdf21 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/invite/SpreadUserImg.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/invite/SpreadUserImg.java @@ -1,92 +1,84 @@ -package com.yeshi.fanli.entity.bus.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; - } - -} +package com.yeshi.fanli.entity.bus.invite; + +import com.google.gson.annotations.Expose; +import org.springframework.data.annotation.Transient; +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import java.util.Date; + +@Table("yeshi_ec_spread_user_img") +public class SpreadUserImg { + + @Column(name="si_id") + @Expose + private Long id; + + @Column(name="si_uid") + @Expose + private Long uid; + + @Column(name="si_type") + @Expose + private Integer type; + + @Column(name="si_url") + @Expose + private String url; + + @Column(name="si_createtime") + @Expose + 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; + } + +} -- Gitblit v1.8.0