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> extends BaseModel 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) * isNullable: YES * 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) * isNullable: YES * 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: * * @param memo 备注 */ @JSONField(name = "memo") public void setMemo(java.lang.String memo) { set("memo", memo); } /** * @return memo 备注 */ @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"); } }