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

222 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 Fri Apr 17 16:59:35 CST 2020
* TableName: customer_receiver
* Remarks: -
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BaseCustomerReceiver<M extends BaseCustomerReceiver<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "customer_receiver";
@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(java.lang.Integer id) {
set("id", id);
}
/**
* @return id
*/
@JSONField(name="id")
public java.lang.Integer getId() {
return getInt("id");
}
/**
* name: customer_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerId
*/
@JSONField(name="customer_id")
public void setCustomerId(java.lang.Integer customerId) {
set("customer_id", customerId);
}
/**
* @return customer_id
*/
@JSONField(name="customer_id")
public java.lang.Integer getCustomerId() {
return getInt("customer_id");
}
/**
* name: name
* type: VARCHAR(128)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param name
*/
@JSONField(name="name")
public void setName(java.lang.String name) {
set("name", name);
}
/**
* @return name
*/
@JSONField(name="name")
public java.lang.String getName() {
return getStr("name");
}
/**
* name: phone
* type: CHAR(11)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param phone
*/
@JSONField(name="phone")
public void setPhone(java.lang.String phone) {
set("phone", phone);
}
/**
* @return phone
*/
@JSONField(name="phone")
public java.lang.String getPhone() {
return getStr("phone");
}
/**
* name: address
* type: VARCHAR(256)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param address
*/
@JSONField(name="address")
public void setAddress(java.lang.String address) {
set("address", address);
}
/**
* @return address
*/
@JSONField(name="address")
public java.lang.String getAddress() {
return getStr("address");
}
/**
* name: lgtd
* type: DECIMAL(12,8)
2020-08-12 16:59:27 +08:00
* isNullable: YES
2020-08-07 17:11:12 +08:00
* isPrimaryKey: NO
* defaultValue:
* @param lgtd
*/
@JSONField(name="lgtd")
public void setLgtd(java.math.BigDecimal lgtd) {
set("lgtd", lgtd);
}
/**
* @return lgtd
*/
@JSONField(name="lgtd")
public java.math.BigDecimal getLgtd() {
return get("lgtd");
}
/**
* name: lttd
* type: DECIMAL(12,8)
2020-08-12 16:59:27 +08:00
* isNullable: YES
2020-08-07 17:11:12 +08:00
* isPrimaryKey: NO
* defaultValue:
* @param lttd
*/
@JSONField(name="lttd")
public void setLttd(java.math.BigDecimal lttd) {
set("lttd", lttd);
}
/**
* @return lttd
*/
@JSONField(name="lttd")
public java.math.BigDecimal getLttd() {
return get("lttd");
}
/**
* name: memo
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
2020-08-12 16:59:27 +08:00
* @param memo
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="memo")
public void setMemo(java.lang.String memo) {
set("memo", memo);
}
/**
2020-08-12 16:59:27 +08:00
* @return memo
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="memo")
public java.lang.String getMemo() {
return getStr("memo");
}
/**
* name: isdefault
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param isdefault 1
*/
@JSONField(name="isdefault")
public void setIsdefault(java.lang.Integer isdefault) {
set("isdefault", isdefault);
}
/**
* @return isdefault 1
*/
@JSONField(name="isdefault")
public java.lang.Integer getIsdefault() {
return getInt("isdefault");
}
}