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

209 lines
4.3 KiB
Java
Raw Normal View History

2020-09-30 15:14:19 +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 Wed Sep 30 15:03:51 CST 2020
* TableName: customer_pact
* Remarks: -
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BaseCustomerPact<M extends BaseCustomerPact<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "customer_pact";
2020-10-18 00:39:17 +08:00
@JSONField(serialize = false)
public String getTablename() {
2020-09-30 15:14:19 +08:00
return tablename;
}
/**
* name: id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: YES
2020-10-18 00:39:17 +08:00
* defaultValue:
*
* @param id
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "id")
2020-09-30 15:14:19 +08:00
public void setId(Integer id) {
set("id", id);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
2020-10-18 00:39:17 +08:00
* @return id
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "id")
2020-09-30 15:14:19 +08:00
public Integer getId() {
return getInt("id");
}
/**
* name: customer_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
* @param customerId
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "customer_id")
2020-09-30 15:14:19 +08:00
public void setCustomerId(Integer customerId) {
set("customer_id", customerId);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
2020-10-18 00:39:17 +08:00
* @return customer_id
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "customer_id")
2020-09-30 15:14:19 +08:00
public Integer getCustomerId() {
return getInt("customer_id");
}
/**
* name: sign_time
* type: DATE(10)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-09-30 15:14:19 +08:00
* @param signTime
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sign_time")
2020-09-30 15:14:19 +08:00
public void setSignTime(java.util.Date signTime) {
set("sign_time", signTime);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
* @return sign_time
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sign_time")
2020-09-30 15:14:19 +08:00
public java.util.Date getSignTime() {
return get("sign_time");
}
/**
* name: sing_total_price
* type: DECIMAL(12,2)
* isNullable: YES
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-09-30 15:14:19 +08:00
* @param singTotalPrice
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sing_total_price")
2020-09-30 15:14:19 +08:00
public void setSingTotalPrice(java.math.BigDecimal singTotalPrice) {
set("sing_total_price", singTotalPrice);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
* @return sing_total_price
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sing_total_price")
2020-09-30 15:14:19 +08:00
public java.math.BigDecimal getSingTotalPrice() {
return get("sing_total_price");
}
/**
* name: sing_total_weight
* type: DECIMAL(12,2)
* isNullable: YES
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-09-30 15:14:19 +08:00
* @param singTotalWeight
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sing_total_weight")
2020-09-30 15:14:19 +08:00
public void setSingTotalWeight(java.math.BigDecimal singTotalWeight) {
set("sing_total_weight", singTotalWeight);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
* @return sing_total_weight
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sing_total_weight")
2020-09-30 15:14:19 +08:00
public java.math.BigDecimal getSingTotalWeight() {
return get("sing_total_weight");
}
/**
* name: sign_user_name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-09-30 15:14:19 +08:00
* @param signUserName
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sign_user_name")
2020-09-30 15:14:19 +08:00
public void setSignUserName(String signUserName) {
set("sign_user_name", signUserName);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
* @return sign_user_name
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "sign_user_name")
2020-09-30 15:14:19 +08:00
public String getSignUserName() {
return getStr("sign_user_name");
}
/**
* name: cutoff_time
* type: DATE(10)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-09-30 15:14:19 +08:00
* @param cutoffTime
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "cutoff_time")
2020-09-30 15:14:19 +08:00
public void setCutoffTime(java.util.Date cutoffTime) {
set("cutoff_time", cutoffTime);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
* @return cutoff_time
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "cutoff_time")
2020-09-30 15:14:19 +08:00
public java.util.Date getCutoffTime() {
return get("cutoff_time");
}
/**
* name: del
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
2020-10-18 00:39:17 +08:00
*
* @param del
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "del")
2020-09-30 15:14:19 +08:00
public void setDel(Integer del) {
set("del", del);
}
2020-10-18 00:39:17 +08:00
2020-09-30 15:14:19 +08:00
/**
2020-10-18 00:39:17 +08:00
* @return del
2020-09-30 15:14:19 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "del")
2020-09-30 15:14:19 +08:00
public Integer getDel() {
return getInt("del");
}
}