ssjygl-xsct-service/ssjygl-xsx-common/src/main/java/com/cowr/model/base/BasePrepayCustomer.java

200 lines
4.6 KiB
Java
Raw Normal View History

2020-08-07 17:11:12 +08:00
package com.cowr.model.base;
import com.cowr.common.base.BaseModel;
import com.jfinal.plugin.activerecord.IBean;
import com.alibaba.fastjson.annotation.JSONField;
/**
* Generated by COWR Sun May 17 21:43:18 CST 2020
* TableName: prepay_customer
* Remarks: -
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BasePrepayCustomer<M extends BasePrepayCustomer<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "prepay_customer";
@JSONField(serialize=false)
public String getTablename(){
return tablename;
}
/**
* name: id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: YES
* defaultValue:
* @param id
*/
@JSONField(name="id")
public void setId(Integer id) {
set("id", id);
}
/**
* @return id
*/
@JSONField(name="id")
public Integer getId() {
return getInt("id");
}
/**
* name: customer_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerId customer id
*/
@JSONField(name="customer_id")
public void setCustomerId(Integer customerId) {
set("customer_id", customerId);
}
/**
* @return customer_id customer id
*/
@JSONField(name="customer_id")
public Integer getCustomerId() {
return getInt("customer_id");
}
/**
* name: supermarket_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param supermarketId id
*/
@JSONField(name="supermarket_id")
public void setSupermarketId(Integer supermarketId) {
set("supermarket_id", supermarketId);
}
/**
* @return supermarket_id id
*/
@JSONField(name="supermarket_id")
public Integer getSupermarketId() {
return getInt("supermarket_id");
}
/**
* name: surplus
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0.00
* @param surplus
*/
@JSONField(name="surplus")
public void setSurplus(java.math.BigDecimal surplus) {
set("surplus", surplus);
}
/**
* @return surplus
*/
@JSONField(name="surplus")
public java.math.BigDecimal getSurplus() {
return get("surplus");
}
/**
* name: recharge_time
* type: DATETIME(19)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param rechargeTime
*/
@JSONField(name="recharge_time")
public void setRechargeTime(java.util.Date rechargeTime) {
set("recharge_time", rechargeTime);
}
/**
* @return recharge_time
*/
@JSONField(name="recharge_time")
public java.util.Date getRechargeTime() {
return get("recharge_time");
}
/**
* name: spend_time
* type: DATETIME(19)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param spendTime
*/
@JSONField(name="spend_time")
public void setSpendTime(java.util.Date spendTime) {
set("spend_time", spendTime);
}
/**
* @return spend_time
*/
@JSONField(name="spend_time")
public java.util.Date getSpendTime() {
return get("spend_time");
}
/**
* name: first_recharge_time
* type: DATETIME(19)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param firstRechargeTime
*/
@JSONField(name="first_recharge_time")
public void setFirstRechargeTime(java.util.Date firstRechargeTime) {
set("first_recharge_time", firstRechargeTime);
}
/**
* @return first_recharge_time
*/
@JSONField(name="first_recharge_time")
public java.util.Date getFirstRechargeTime() {
return get("first_recharge_time");
}
/**
* name: threshold
* type: DECIMAL(12,2)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue: 3000.00
* @param threshold
*/
@JSONField(name="threshold")
public void setThreshold(java.math.BigDecimal threshold) {
set("threshold", threshold);
}
/**
* @return threshold
*/
@JSONField(name="threshold")
public java.math.BigDecimal getThreshold() {
return get("threshold");
}
}