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/user/BindingAccount.java | 168 +++++++++++++++++++++++++------------------------------ 1 files changed, 77 insertions(+), 91 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/BindingAccount.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/BindingAccount.java index e46b5be..39f0de9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/BindingAccount.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/BindingAccount.java @@ -1,91 +1,77 @@ -package com.yeshi.fanli.entity.bus.user; - -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; -import javax.persistence.Table; - -import com.google.gson.annotations.Expose; - -/** - * 缁戝畾鎻愮幇鐨勮处鎴� - * @author cxx - * - * @date 2018骞�1鏈�29鏃� - */ -@Entity -@Table(name="yeshi_ec_binding_account") -@org.yeshi.utils.mybatis.Table("yeshi_ec_binding_account") -public class BindingAccount { - - public static final int TYPE_ALIPAY=1; - - public static final int TYPE_WXPAY=2; - - @Id - @GeneratedValue(strategy=GenerationType.AUTO) - @Column(name="`id`") - @Expose - @org.yeshi.utils.mybatis.Column(name="id") - private Long id; - - @ManyToOne(fetch = FetchType.EAGER) - @JoinColumn(name = "uid") - @org.yeshi.utils.mybatis.Column(name="uid") - private UserInfo userInfo; - @Expose - @org.yeshi.utils.mybatis.Column(name="account") - private String account; - @Expose - @org.yeshi.utils.mybatis.Column(name="type") - private Integer type; //1.鏀粯瀹� 2.寰俊 - @Expose - @org.yeshi.utils.mybatis.Column(name="name") - private String name; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public UserInfo getUserInfo() { - return userInfo; - } - - public void setUserInfo(UserInfo userInfo) { - this.userInfo = userInfo; - } - - public String getAccount() { - return account; - } - - public void setAccount(String account) { - this.account = account; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - -} +package com.yeshi.fanli.entity.bus.user; + + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.google.gson.annotations.Expose; + +/** + * 缁戝畾鎻愮幇鐨勮处鎴� + * @author cxx + * + * @date 2018骞�1鏈�29鏃� + */ +@Table("yeshi_ec_binding_account") +public class BindingAccount { + + public static final int TYPE_ALIPAY=1; + + public static final int TYPE_WXPAY=2; + + @Column(name="id") + private Long id; + + @Column(name="uid") + private UserInfo userInfo; + @Expose + @Column(name="account") + private String account; + @Expose + @Column(name="type") + private Integer type; //1.鏀粯瀹� 2.寰俊 + @Expose + @Column(name="name") + private String name; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public UserInfo getUserInfo() { + return userInfo; + } + + public void setUserInfo(UserInfo userInfo) { + this.userInfo = userInfo; + } + + public String getAccount() { + return account; + } + + public void setAccount(String account) { + this.account = account; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + +} -- Gitblit v1.8.0