admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
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;
    }
}