| | |
| | | package com.yeshi.fanli.entity.taobao;
|
| | |
|
| | | import java.io.Serializable;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 淘宝联盟的参数配置
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_taobao_union_config")
|
| | | public class TaoBaoUnionConfig implements Serializable{
|
| | | /**
|
| | | * |
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | | |
| | | public final static int TYPE_ANDROID = 1;
|
| | | public final static int TYPE_IOS = 2;
|
| | | public final static int TYPE_SHARE = 0;
|
| | | @Column(name = "tc_id")
|
| | | private Long id;
|
| | | @Column(name = "tc_account")
|
| | | private String account;
|
| | | @Column(name = "tc_account_id")
|
| | | private String accountId;
|
| | | @Column(name = "tc_appkey")
|
| | | private String appKey;
|
| | | @Column(name = "tc_appsecret")
|
| | | private String appSecret;
|
| | | @Column(name = "tc_appid")
|
| | | private String appId;
|
| | | @Column(name = "tc_default_pid")
|
| | | private String defaultPid;
|
| | | @Column(name = "tc_beizhu")
|
| | | private String beizhu;
|
| | | @Column(name = "tc_appname")
|
| | | private String appName;
|
| | | @Column(name = "tc_type")
|
| | | private Integer type;
|
| | |
|
| | | public TaoBaoUnionConfig() {
|
| | |
|
| | | }
|
| | |
|
| | | public TaoBaoUnionConfig(String account, String accountId, String appKey, String appSecret, String appId,
|
| | | String defaultPid, String beizhu, String appName, Integer type) {
|
| | | this.account = account;
|
| | | this.accountId = accountId;
|
| | | this.appKey = appKey;
|
| | | this.appSecret = appSecret;
|
| | | this.appId = appId;
|
| | | this.defaultPid = defaultPid;
|
| | | this.beizhu = beizhu;
|
| | | this.appName = appName;
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getAccount() {
|
| | | return account;
|
| | | }
|
| | |
|
| | | public void setAccount(String account) {
|
| | | this.account = account;
|
| | | }
|
| | |
|
| | | public String getAccountId() {
|
| | | return accountId;
|
| | | }
|
| | |
|
| | | public void setAccountId(String accountId) {
|
| | | this.accountId = accountId;
|
| | | }
|
| | |
|
| | | public String getAppKey() {
|
| | | return appKey;
|
| | | }
|
| | |
|
| | | public void setAppKey(String appKey) {
|
| | | this.appKey = appKey;
|
| | | }
|
| | |
|
| | | public String getAppSecret() {
|
| | | return appSecret;
|
| | | }
|
| | |
|
| | | public void setAppSecret(String appSecret) {
|
| | | this.appSecret = appSecret;
|
| | | }
|
| | |
|
| | | public String getAppId() {
|
| | | return appId;
|
| | | }
|
| | |
|
| | | public void setAppId(String appId) {
|
| | | this.appId = appId;
|
| | | }
|
| | |
|
| | | public String getDefaultPid() {
|
| | | return defaultPid;
|
| | | }
|
| | |
|
| | | public void setDefaultPid(String defaultPid) {
|
| | | this.defaultPid = defaultPid;
|
| | | }
|
| | |
|
| | | public String getBeizhu() {
|
| | | return beizhu;
|
| | | }
|
| | |
|
| | | public void setBeizhu(String beizhu) {
|
| | | this.beizhu = beizhu;
|
| | | }
|
| | |
|
| | | public String getAppName() {
|
| | | return appName;
|
| | | }
|
| | |
|
| | | public void setAppName(String appName) {
|
| | | this.appName = appName;
|
| | | }
|
| | |
|
| | | public Integer getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(Integer type) {
|
| | | this.type = type;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.taobao; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 淘宝联盟的参数配置 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_taobao_union_config") |
| | | public class TaoBaoUnionConfig implements Serializable { |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public final static int TYPE_ANDROID = 1; |
| | | public final static int TYPE_IOS = 2; |
| | | public final static int TYPE_SHARE = 0; |
| | | public final static int TYPE_TLJ_BUY = 3;// 自购立减淘礼金 |
| | | |
| | | public final static int STATE_VALID = 0;// 正常 |
| | | public final static int STATE_NOVALID = 1;// 不正常 |
| | | |
| | | @Column(name = "tc_id") |
| | | private Long id; |
| | | @Column(name = "tc_account") |
| | | private String account; |
| | | @Column(name = "tc_account_id") |
| | | private String accountId; |
| | | @Column(name = "tc_appkey") |
| | | private String appKey; |
| | | @Column(name = "tc_appsecret") |
| | | private String appSecret; |
| | | @Column(name = "tc_appid") |
| | | private String appId; |
| | | @Column(name = "tc_default_pid") |
| | | private String defaultPid; |
| | | @Column(name = "tc_beizhu") |
| | | private String beizhu; |
| | | @Column(name = "tc_appname") |
| | | private String appName; |
| | | @Column(name = "tc_type") |
| | | private Integer type; |
| | | @Column(name = "tc_state") |
| | | private Integer state; |
| | | @Column(name = "tc_state_desc") |
| | | private String stateDesc; |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getStateDesc() { |
| | | return stateDesc; |
| | | } |
| | | |
| | | public void setStateDesc(String stateDesc) { |
| | | this.stateDesc = stateDesc; |
| | | } |
| | | |
| | | public TaoBaoUnionConfig() { |
| | | |
| | | } |
| | | |
| | | public TaoBaoUnionConfig(String account, String accountId, String appKey, String appSecret, String appId, |
| | | String defaultPid, String beizhu, String appName, Integer type) { |
| | | this.account = account; |
| | | this.accountId = accountId; |
| | | this.appKey = appKey; |
| | | this.appSecret = appSecret; |
| | | this.appId = appId; |
| | | this.defaultPid = defaultPid; |
| | | this.beizhu = beizhu; |
| | | this.appName = appName; |
| | | this.type = type; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getAccount() { |
| | | return account; |
| | | } |
| | | |
| | | public void setAccount(String account) { |
| | | this.account = account; |
| | | } |
| | | |
| | | public String getAccountId() { |
| | | return accountId; |
| | | } |
| | | |
| | | public void setAccountId(String accountId) { |
| | | this.accountId = accountId; |
| | | } |
| | | |
| | | public String getAppKey() { |
| | | return appKey; |
| | | } |
| | | |
| | | public void setAppKey(String appKey) { |
| | | this.appKey = appKey; |
| | | } |
| | | |
| | | public String getAppSecret() { |
| | | return appSecret; |
| | | } |
| | | |
| | | public void setAppSecret(String appSecret) { |
| | | this.appSecret = appSecret; |
| | | } |
| | | |
| | | public String getAppId() { |
| | | return appId; |
| | | } |
| | | |
| | | public void setAppId(String appId) { |
| | | this.appId = appId; |
| | | } |
| | | |
| | | public String getDefaultPid() { |
| | | return defaultPid; |
| | | } |
| | | |
| | | public void setDefaultPid(String defaultPid) { |
| | | this.defaultPid = defaultPid; |
| | | } |
| | | |
| | | public String getBeizhu() { |
| | | return beizhu; |
| | | } |
| | | |
| | | public void setBeizhu(String beizhu) { |
| | | this.beizhu = beizhu; |
| | | } |
| | | |
| | | public String getAppName() { |
| | | return appName; |
| | | } |
| | | |
| | | public void setAppName(String appName) { |
| | | this.appName = appName; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | } |