| | |
| | | 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 org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | |
| | | *
|
| | | * @date 2018年1月29日
|
| | | */
|
| | | @Entity
|
| | | @Table(name="yeshi_ec_binding_account")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_binding_account")
|
| | | @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")
|
| | | @Column(name="id")
|
| | | private Long id;
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "uid")
|
| | | @org.yeshi.utils.mybatis.Column(name="uid")
|
| | | @Column(name="uid")
|
| | | private UserInfo userInfo;
|
| | | @Expose
|
| | | @org.yeshi.utils.mybatis.Column(name="account")
|
| | | @Column(name="account")
|
| | | private String account;
|
| | | @Expose
|
| | | @org.yeshi.utils.mybatis.Column(name="type")
|
| | | @Column(name="type")
|
| | | private Integer type; //1.支付宝 2.微信
|
| | | @Expose
|
| | | @org.yeshi.utils.mybatis.Column(name="name")
|
| | | @Column(name="name")
|
| | | private String name;
|
| | |
|
| | | public Long getId() {
|