admin
2020-12-25 25680e135b5bdc15658622cbfde74bab73cfee77
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
package com.ks.lucky.pojo.DO;
 
import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
@Valid
public class LuckySponsors implements Serializable {
 
    //正常
    public final static int STATE_NORMAL = 0;
    //封禁
    public final static int STATE_FORBIDDEN = 1;
 
    private Long id;
 
    @NotEmpty(message = "账号不能为空")
    @Pattern(regexp = "^(\\w|@|_|\\.){3,64}$",message = "账号只能包含英文、数字、@、_")
    private String account;
 
    @NotEmpty(message = "密码不能为空")
    private String pwd;
 
    @NotEmpty(message = "赞助商名称不能为空")
    private String name;
 
    private String mobile;
 
    private BigDecimal balance;
 
    private Integer state;
 
    private String stateRemarks;
 
    private Date latestLoginTime;
 
    private String remarks;
 
    private String email;
 
    private Date createTime;
 
    private Date updateTime;
 
    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 == null ? null : account.trim();
    }
 
    public String getPwd() {
        return pwd;
    }
 
    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
 
    public String getMobile() {
        return mobile;
    }
 
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }
 
    public BigDecimal getBalance() {
        return balance;
    }
 
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public String getStateRemarks() {
        return stateRemarks;
    }
 
    public void setStateRemarks(String stateRemarks) {
        this.stateRemarks = stateRemarks == null ? null : stateRemarks.trim();
    }
 
    public Date getLatestLoginTime() {
        return latestLoginTime;
    }
 
    public void setLatestLoginTime(Date latestLoginTime) {
        this.latestLoginTime = latestLoginTime;
    }
 
    public String getRemarks() {
        return remarks;
    }
 
    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}