package com.ks.lucky.pojo.DO;
|
|
import javax.validation.Valid;
|
import javax.validation.constraints.NotEmpty;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
@Valid
|
public class LuckySponsors {
|
|
//正常
|
public final static int STATE_NORMAL = 0;
|
//封禁
|
public final static int STATE_FORBIDDEN = 1;
|
|
private Long id;
|
|
@NotEmpty(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;
|
}
|
}
|