package com.ks.lijin.pojo.DO;
|
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
@Table("tlj_provider_account")
|
public class LiJinProviderTaoKeAccount implements Serializable {
|
//正常
|
public final static int ERROR_CODE_NORMAL = 0;
|
//资金不足
|
public final static int ERROR_CODE_MONEY_NOT_ENOUGH = 10;
|
//商品数量不足
|
public final static int ERROR_CODE_GOODS_NOT_ENOUGH = 20;
|
|
//其他错误
|
public final static int ERROR_CODE_OTHER = 30;
|
|
|
@Column(name = "ac_id")
|
private Long id;
|
|
@Column(name = "ac_provider_id")
|
private Long providerId;
|
|
@Column(name = "ac_account_name")
|
private String accountName;
|
|
@Column(name = "ac_app_key")
|
private String appKey;
|
|
@Column(name = "ac_app_secret")
|
private String appSecret;
|
|
@Column(name = "ac_pid")
|
private String pid;
|
|
@Column(name = "ac_max_money")
|
private BigDecimal maxMoney;
|
|
@Column(name = "ac_max_number")
|
private Integer maxNumber;
|
|
@Column(name = "ac_today_consume_money")
|
private BigDecimal todayConsumeMoney;
|
|
@Column(name = "ac_today_consume_number")
|
private Integer todayConsumeNumber;
|
|
@Column(name = "ac_state")
|
private Integer state;
|
|
/**
|
* 权重
|
*/
|
@Column(name = "ac_weight")
|
private Integer weight;
|
|
/**
|
* /错误码 0-无错误
|
*/
|
@Column(name = "ac_error_code")
|
private Integer errorCode;
|
@Column(name = "ac_error_msg")
|
private String errorMsg;
|
|
@Column(name = "ac_creator_id")
|
private Long creatorId;
|
|
@Column(name = "ac_create_time")
|
private Date createTime;
|
|
@Column(name = "ac_updator_id")
|
private Long updatorId;
|
|
@Column(name = "ac_update_time")
|
private Date updateTime;
|
|
public String getPid() {
|
return pid;
|
}
|
|
public void setPid(String pid) {
|
this.pid = pid;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getProviderId() {
|
return providerId;
|
}
|
|
public void setProviderId(Long providerId) {
|
this.providerId = providerId;
|
}
|
|
public String getAccountName() {
|
return accountName;
|
}
|
|
public void setAccountName(String accountName) {
|
this.accountName = accountName;
|
}
|
|
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 BigDecimal getMaxMoney() {
|
return maxMoney;
|
}
|
|
public void setMaxMoney(BigDecimal maxMoney) {
|
this.maxMoney = maxMoney;
|
}
|
|
public Integer getMaxNumber() {
|
return maxNumber;
|
}
|
|
public void setMaxNumber(Integer maxNumber) {
|
this.maxNumber = maxNumber;
|
}
|
|
public BigDecimal getTodayConsumeMoney() {
|
return todayConsumeMoney;
|
}
|
|
public void setTodayConsumeMoney(BigDecimal todayConsumeMoney) {
|
this.todayConsumeMoney = todayConsumeMoney;
|
}
|
|
public Integer getTodayConsumeNumber() {
|
return todayConsumeNumber;
|
}
|
|
public void setTodayConsumeNumber(Integer todayConsumeNumber) {
|
this.todayConsumeNumber = todayConsumeNumber;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Long getCreatorId() {
|
return creatorId;
|
}
|
|
public void setCreatorId(Long creatorId) {
|
this.creatorId = creatorId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Long getUpdatorId() {
|
return updatorId;
|
}
|
|
public void setUpdatorId(Long updatorId) {
|
this.updatorId = updatorId;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Integer getErrorCode() {
|
return errorCode;
|
}
|
|
public void setErrorCode(Integer errorCode) {
|
this.errorCode = errorCode;
|
}
|
|
public String getErrorMsg() {
|
return errorMsg;
|
}
|
|
public void setErrorMsg(String errorMsg) {
|
this.errorMsg = errorMsg;
|
}
|
|
public Integer getWeight() {
|
return weight;
|
}
|
|
public void setWeight(Integer weight) {
|
this.weight = weight;
|
}
|
}
|