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

231 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";
2020-10-18 00:39:17 +08:00
@JSONField(serialize = false)
public String getTablename() {
2020-08-07 17:11:12 +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-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "id")
2020-08-07 17:11:12 +08:00
public void setId(java.lang.Integer id) {
set("id", id);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
2020-10-18 00:39:17 +08:00
* @return id
2020-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "id")
2020-08-07 17:11:12 +08:00
public java.lang.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-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "customer_id")
2020-08-07 17:11:12 +08:00
public void setCustomerId(java.lang.Integer customerId) {
set("customer_id", customerId);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
2020-10-18 00:39:17 +08:00
* @return customer_id
2020-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "customer_id")
2020-08-07 17:11:12 +08:00
public java.lang.Integer getCustomerId() {
return getInt("customer_id");
}
/**
* name: name
* type: VARCHAR(128)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-07 17:11:12 +08:00
* @param name
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "name")
2020-08-07 17:11:12 +08:00
public void setName(java.lang.String name) {
set("name", name);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return name
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "name")
2020-08-07 17:11:12 +08:00
public java.lang.String getName() {
return getStr("name");
}
/**
* name: phone
* type: CHAR(11)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-07 17:11:12 +08:00
* @param phone
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "phone")
2020-08-07 17:11:12 +08:00
public void setPhone(java.lang.String phone) {
set("phone", phone);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return phone
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "phone")
2020-08-07 17:11:12 +08:00
public java.lang.String getPhone() {
return getStr("phone");
}
/**
* name: address
* type: VARCHAR(256)
* isNullable: NO
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-07 17:11:12 +08:00
* @param address
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "address")
2020-08-07 17:11:12 +08:00
public void setAddress(java.lang.String address) {
set("address", address);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return address
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "address")
2020-08-07 17:11:12 +08:00
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
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-07 17:11:12 +08:00
* @param lgtd
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "lgtd")
2020-08-07 17:11:12 +08:00
public void setLgtd(java.math.BigDecimal lgtd) {
set("lgtd", lgtd);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return lgtd
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "lgtd")
2020-08-07 17:11:12 +08:00
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
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-07 17:11:12 +08:00
* @param lttd
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "lttd")
2020-08-07 17:11:12 +08:00
public void setLttd(java.math.BigDecimal lttd) {
set("lttd", lttd);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return lttd
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "lttd")
2020-08-07 17:11:12 +08:00
public java.math.BigDecimal getLttd() {
return get("lttd");
}
/**
* name: memo
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
2020-10-18 00:39:17 +08:00
* defaultValue:
*
2020-08-12 16:59:27 +08:00
* @param memo
2020-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "memo")
2020-08-07 17:11:12 +08:00
public void setMemo(java.lang.String memo) {
set("memo", memo);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
2020-08-12 16:59:27 +08:00
* @return memo
2020-08-07 17:11:12 +08:00
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "memo")
2020-08-07 17:11:12 +08:00
public java.lang.String getMemo() {
return getStr("memo");
}
/**
* name: isdefault
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
2020-10-18 00:39:17 +08:00
*
2020-08-07 17:11:12 +08:00
* @param isdefault 1
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "isdefault")
2020-08-07 17:11:12 +08:00
public void setIsdefault(java.lang.Integer isdefault) {
set("isdefault", isdefault);
}
2020-10-18 00:39:17 +08:00
2020-08-07 17:11:12 +08:00
/**
* @return isdefault 1
*/
2020-10-18 00:39:17 +08:00
@JSONField(name = "isdefault")
2020-08-07 17:11:12 +08:00
public java.lang.Integer getIsdefault() {
return getInt("isdefault");
}
}