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

1159 lines
27 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: order_sale
* Remarks: -
* PrimaryKey: sn
*/
@SuppressWarnings("serial")
public abstract class BaseOrderSale<M extends BaseOrderSale<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "order_sale";
@JSONField(serialize=false)
public String getTablename(){
return tablename;
}
/**
* name: sn
* type: CHAR(16)
* isNullable: NO
* isPrimaryKey: YES
* defaultValue:
* @param sn YYYYMMDD + id线 + +
*/
@JSONField(name="sn")
public void setSn(String sn) {
set("sn", sn);
}
/**
* @return sn YYYYMMDD + id线 + +
*/
@JSONField(name="sn")
public String getSn() {
return getStr("sn");
}
/**
* name: uuid
* type: CHAR(32)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param uuid UUID
*/
@JSONField(name="uuid")
public void setUuid(String uuid) {
set("uuid", uuid);
}
/**
* @return uuid UUID
*/
@JSONField(name="uuid")
public String getUuid() {
return getStr("uuid");
}
/**
* name: transport_id
* type: CHAR(32)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param transportId id
*/
@JSONField(name="transport_id")
public void setTransportId(String transportId) {
set("transport_id", transportId);
}
/**
* @return transport_id id
*/
@JSONField(name="transport_id")
public String getTransportId() {
return getStr("transport_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: customer_id
* type: INT(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerId
*/
@JSONField(name="customer_id")
public void setCustomerId(Integer customerId) {
set("customer_id", customerId);
}
/**
* @return customer_id
*/
@JSONField(name="customer_id")
public Integer getCustomerId() {
return getInt("customer_id");
}
/**
* name: customer_name
* type: VARCHAR(128)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerName
*/
@JSONField(name="customer_name")
public void setCustomerName(String customerName) {
set("customer_name", customerName);
}
/**
* @return customer_name
*/
@JSONField(name="customer_name")
public String getCustomerName() {
return getStr("customer_name");
}
/**
* name: customer_texpayer_name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerTexpayerName
*/
@JSONField(name="customer_texpayer_name")
public void setCustomerTexpayerName(String customerTexpayerName) {
set("customer_texpayer_name", customerTexpayerName);
}
/**
* @return customer_texpayer_name
*/
@JSONField(name="customer_texpayer_name")
public String getCustomerTexpayerName() {
return getStr("customer_texpayer_name");
}
/**
* name: customer_texpayer_num
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerTexpayerNum
*/
@JSONField(name="customer_texpayer_num")
public void setCustomerTexpayerNum(String customerTexpayerNum) {
set("customer_texpayer_num", customerTexpayerNum);
}
/**
* @return customer_texpayer_num
*/
@JSONField(name="customer_texpayer_num")
public String getCustomerTexpayerNum() {
return getStr("customer_texpayer_num");
}
/**
* name: customer_address
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerAddress
*/
@JSONField(name="customer_address")
public void setCustomerAddress(String customerAddress) {
set("customer_address", customerAddress);
}
/**
* @return customer_address
*/
@JSONField(name="customer_address")
public String getCustomerAddress() {
return getStr("customer_address");
}
/**
* name: customer_phone
* type: CHAR(11)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerPhone
*/
@JSONField(name="customer_phone")
public void setCustomerPhone(String customerPhone) {
set("customer_phone", customerPhone);
}
/**
* @return customer_phone
*/
@JSONField(name="customer_phone")
public String getCustomerPhone() {
return getStr("customer_phone");
}
/**
* name: customer_bank_name
* type: VARCHAR(128)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerBankName
*/
@JSONField(name="customer_bank_name")
public void setCustomerBankName(String customerBankName) {
set("customer_bank_name", customerBankName);
}
/**
* @return customer_bank_name
*/
@JSONField(name="customer_bank_name")
public String getCustomerBankName() {
return getStr("customer_bank_name");
}
/**
* name: customer_bank_account
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param customerBankAccount
*/
@JSONField(name="customer_bank_account")
public void setCustomerBankAccount(String customerBankAccount) {
set("customer_bank_account", customerBankAccount);
}
/**
* @return customer_bank_account
*/
@JSONField(name="customer_bank_account")
public String getCustomerBankAccount() {
return getStr("customer_bank_account");
}
/**
* name: customer_receiver_name
* type: VARCHAR(8)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerReceiverName
*/
@JSONField(name="customer_receiver_name")
public void setCustomerReceiverName(String customerReceiverName) {
set("customer_receiver_name", customerReceiverName);
}
/**
* @return customer_receiver_name
*/
@JSONField(name="customer_receiver_name")
public String getCustomerReceiverName() {
return getStr("customer_receiver_name");
}
/**
* name: customer_receiver_phone
* type: CHAR(11)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerReceiverPhone
*/
@JSONField(name="customer_receiver_phone")
public void setCustomerReceiverPhone(String customerReceiverPhone) {
set("customer_receiver_phone", customerReceiverPhone);
}
/**
* @return customer_receiver_phone
*/
@JSONField(name="customer_receiver_phone")
public String getCustomerReceiverPhone() {
return getStr("customer_receiver_phone");
}
/**
* name: customer_receiver_address
* type: VARCHAR(256)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerReceiverAddress
*/
@JSONField(name="customer_receiver_address")
public void setCustomerReceiverAddress(String customerReceiverAddress) {
set("customer_receiver_address", customerReceiverAddress);
}
/**
* @return customer_receiver_address
*/
@JSONField(name="customer_receiver_address")
public String getCustomerReceiverAddress() {
return getStr("customer_receiver_address");
}
/**
* name: customer_receiver_lgtd
* type: DECIMAL(12,8)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerReceiverLgtd
*/
@JSONField(name="customer_receiver_lgtd")
public void setCustomerReceiverLgtd(java.math.BigDecimal customerReceiverLgtd) {
set("customer_receiver_lgtd", customerReceiverLgtd);
}
/**
* @return customer_receiver_lgtd
*/
@JSONField(name="customer_receiver_lgtd")
public java.math.BigDecimal getCustomerReceiverLgtd() {
return get("customer_receiver_lgtd");
}
/**
* name: customer_receiver_lttd
* type: DECIMAL(12,8)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param customerReceiverLttd
*/
@JSONField(name="customer_receiver_lttd")
public void setCustomerReceiverLttd(java.math.BigDecimal customerReceiverLttd) {
set("customer_receiver_lttd", customerReceiverLttd);
}
/**
* @return customer_receiver_lttd
*/
@JSONField(name="customer_receiver_lttd")
public java.math.BigDecimal getCustomerReceiverLttd() {
return get("customer_receiver_lttd");
}
/**
* name: trans_co_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param transCoId
*/
@JSONField(name="trans_co_id")
public void setTransCoId(Integer transCoId) {
set("trans_co_id", transCoId);
}
/**
* @return trans_co_id
*/
@JSONField(name="trans_co_id")
public Integer getTransCoId() {
return getInt("trans_co_id");
}
/**
* name: trans_co_name
* type: VARCHAR(128)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param transCoName
*/
@JSONField(name="trans_co_name")
public void setTransCoName(String transCoName) {
set("trans_co_name", transCoName);
}
/**
* @return trans_co_name
*/
@JSONField(name="trans_co_name")
public String getTransCoName() {
return getStr("trans_co_name");
}
/**
* name: trans_co_texpayer_name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoTexpayerName
*/
@JSONField(name="trans_co_texpayer_name")
public void setTransCoTexpayerName(String transCoTexpayerName) {
set("trans_co_texpayer_name", transCoTexpayerName);
}
/**
* @return trans_co_texpayer_name
*/
@JSONField(name="trans_co_texpayer_name")
public String getTransCoTexpayerName() {
return getStr("trans_co_texpayer_name");
}
/**
* name: trans_co_texpayer_num
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoTexpayerNum
*/
@JSONField(name="trans_co_texpayer_num")
public void setTransCoTexpayerNum(String transCoTexpayerNum) {
set("trans_co_texpayer_num", transCoTexpayerNum);
}
/**
* @return trans_co_texpayer_num
*/
@JSONField(name="trans_co_texpayer_num")
public String getTransCoTexpayerNum() {
return getStr("trans_co_texpayer_num");
}
/**
* name: trans_co_address
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoAddress
*/
@JSONField(name="trans_co_address")
public void setTransCoAddress(String transCoAddress) {
set("trans_co_address", transCoAddress);
}
/**
* @return trans_co_address
*/
@JSONField(name="trans_co_address")
public String getTransCoAddress() {
return getStr("trans_co_address");
}
/**
* name: trans_co_phone
* type: CHAR(11)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoPhone
*/
@JSONField(name="trans_co_phone")
public void setTransCoPhone(String transCoPhone) {
set("trans_co_phone", transCoPhone);
}
/**
* @return trans_co_phone
*/
@JSONField(name="trans_co_phone")
public String getTransCoPhone() {
return getStr("trans_co_phone");
}
/**
* name: trans_co_bank_name
* type: VARCHAR(128)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoBankName
*/
@JSONField(name="trans_co_bank_name")
public void setTransCoBankName(String transCoBankName) {
set("trans_co_bank_name", transCoBankName);
}
/**
* @return trans_co_bank_name
*/
@JSONField(name="trans_co_bank_name")
public String getTransCoBankName() {
return getStr("trans_co_bank_name");
}
/**
* name: trans_co_bank_account
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transCoBankAccount
*/
@JSONField(name="trans_co_bank_account")
public void setTransCoBankAccount(String transCoBankAccount) {
set("trans_co_bank_account", transCoBankAccount);
}
/**
* @return trans_co_bank_account
*/
@JSONField(name="trans_co_bank_account")
public String getTransCoBankAccount() {
return getStr("trans_co_bank_account");
}
/**
* name: truck_license
* type: VARCHAR(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param truckLicense
*/
@JSONField(name="truck_license")
public void setTruckLicense(String truckLicense) {
set("truck_license", truckLicense);
}
/**
* @return truck_license
*/
@JSONField(name="truck_license")
public String getTruckLicense() {
return getStr("truck_license");
}
/**
* name: driver_name
* type: VARCHAR(8)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param driverName
*/
@JSONField(name="driver_name")
public void setDriverName(String driverName) {
set("driver_name", driverName);
}
/**
* @return driver_name
*/
@JSONField(name="driver_name")
public String getDriverName() {
return getStr("driver_name");
}
/**
* name: driver_phone
* type: CHAR(11)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param driverPhone
*/
@JSONField(name="driver_phone")
public void setDriverPhone(String driverPhone) {
set("driver_phone", driverPhone);
}
/**
* @return driver_phone
*/
@JSONField(name="driver_phone")
public String getDriverPhone() {
return getStr("driver_phone");
}
/**
* name: unit_price
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param unitPrice
*/
@JSONField(name="unit_price")
public void setUnitPrice(java.math.BigDecimal unitPrice) {
set("unit_price", unitPrice);
}
/**
* @return unit_price
*/
@JSONField(name="unit_price")
public java.math.BigDecimal getUnitPrice() {
return get("unit_price");
}
/**
* name: total_price
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param totalPrice
*/
@JSONField(name="total_price")
public void setTotalPrice(java.math.BigDecimal totalPrice) {
set("total_price", totalPrice);
}
/**
* @return total_price
*/
@JSONField(name="total_price")
public java.math.BigDecimal getTotalPrice() {
return get("total_price");
}
/**
* name: weight
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param weight
*/
@JSONField(name="weight")
public void setWeight(java.math.BigDecimal weight) {
set("weight", weight);
}
/**
* @return weight
*/
@JSONField(name="weight")
public java.math.BigDecimal getWeight() {
return get("weight");
}
/**
* name: paid
* type: DECIMAL(12,2)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param paid
*/
@JSONField(name="paid")
public void setPaid(java.math.BigDecimal paid) {
set("paid", paid);
}
/**
* @return paid
*/
@JSONField(name="paid")
public java.math.BigDecimal getPaid() {
return get("paid");
}
/**
* name: pick_time
* type: DATETIME(19)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param pickTime
*/
@JSONField(name="pick_time")
public void setPickTime(java.util.Date pickTime) {
set("pick_time", pickTime);
}
/**
* @return pick_time
*/
@JSONField(name="pick_time")
public java.util.Date getPickTime() {
return get("pick_time");
}
/**
* name: trans_distance
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param transDistance
*/
@JSONField(name="trans_distance")
public void setTransDistance(java.math.BigDecimal transDistance) {
set("trans_distance", transDistance);
}
/**
* @return trans_distance
*/
@JSONField(name="trans_distance")
public java.math.BigDecimal getTransDistance() {
return get("trans_distance");
}
/**
* name: trans_price
* type: DECIMAL(10,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param transPrice
*/
@JSONField(name="trans_price")
public void setTransPrice(java.math.BigDecimal transPrice) {
set("trans_price", transPrice);
}
/**
* @return trans_price
*/
@JSONField(name="trans_price")
public java.math.BigDecimal getTransPrice() {
return get("trans_price");
}
/**
* name: trans_unit_price
* type: DECIMAL(12,2)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param transUnitPrice
*/
@JSONField(name="trans_unit_price")
public void setTransUnitPrice(java.math.BigDecimal transUnitPrice) {
set("trans_unit_price", transUnitPrice);
}
/**
* @return trans_unit_price
*/
@JSONField(name="trans_unit_price")
public java.math.BigDecimal getTransUnitPrice() {
return get("trans_unit_price");
}
/**
* name: pay_type
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 1
* @param payType 1 2线
*/
@JSONField(name="pay_type")
public void setPayType(Integer payType) {
set("pay_type", payType);
}
/**
* @return pay_type 1 2线
*/
@JSONField(name="pay_type")
public Integer getPayType() {
return getInt("pay_type");
}
/**
* name: create_time
* type: DATETIME(19)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param createTime
*/
@JSONField(name="create_time")
public void setCreateTime(java.util.Date createTime) {
set("create_time", createTime);
}
/**
* @return create_time
*/
@JSONField(name="create_time")
public java.util.Date getCreateTime() {
return get("create_time");
}
/**
* name: create_user_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param createUserId id
*/
@JSONField(name="create_user_id")
public void setCreateUserId(Integer createUserId) {
set("create_user_id", createUserId);
}
/**
* @return create_user_id id
*/
@JSONField(name="create_user_id")
public Integer getCreateUserId() {
return getInt("create_user_id");
}
/**
* name: create_user_name
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param createUserName
*/
@JSONField(name="create_user_name")
public void setCreateUserName(String createUserName) {
set("create_user_name", createUserName);
}
/**
* @return create_user_name
*/
@JSONField(name="create_user_name")
public String getCreateUserName() {
return getStr("create_user_name");
}
/**
* name: settlement_user_id
* type: INT(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param settlementUserId id
*/
@JSONField(name="settlement_user_id")
public void setSettlementUserId(Integer settlementUserId) {
set("settlement_user_id", settlementUserId);
}
/**
* @return settlement_user_id id
*/
@JSONField(name="settlement_user_id")
public Integer getSettlementUserId() {
return getInt("settlement_user_id");
}
/**
* name: settlement_user_name
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param settlementUserName
*/
@JSONField(name="settlement_user_name")
public void setSettlementUserName(String settlementUserName) {
set("settlement_user_name", settlementUserName);
}
/**
* @return settlement_user_name
*/
@JSONField(name="settlement_user_name")
public String getSettlementUserName() {
return getStr("settlement_user_name");
}
/**
* name: state
* type: SMALLINT(5)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 1
* @param state 1
2()
3
4
5
9
*/
@JSONField(name="state")
public void setState(Integer state) {
set("state", state);
}
/**
* @return state 1
2()
3
4
5
9
*/
@JSONField(name="state")
public Integer getState() {
return getInt("state");
}
/**
* name: req_receipt
* type: SMALLINT(5)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param reqReceipt 0 1
*/
@JSONField(name="req_receipt")
public void setReqReceipt(Integer reqReceipt) {
set("req_receipt", reqReceipt);
}
/**
* @return req_receipt 0 1
*/
@JSONField(name="req_receipt")
public Integer getReqReceipt() {
return getInt("req_receipt");
}
/**
* name: ordercluster_id
* type: INT(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param orderclusterId ordercluste id
*/
@JSONField(name="ordercluster_id")
public void setOrderclusterId(Integer orderclusterId) {
set("ordercluster_id", orderclusterId);
}
/**
* @return ordercluster_id ordercluste id
*/
@JSONField(name="ordercluster_id")
public Integer getOrderclusterId() {
return getInt("ordercluster_id");
}
/**
* name: change_time
* type: TIMESTAMP(19)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: CURRENT_TIMESTAMP
* @param changeTime
*/
@JSONField(name="change_time")
public void setChangeTime(java.util.Date changeTime) {
set("change_time", changeTime);
}
/**
* @return change_time
*/
@JSONField(name="change_time")
public java.util.Date getChangeTime() {
return get("change_time");
}
/**
* name: isprepaid
* type: SMALLINT(5)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param isprepaid
*/
@JSONField(name="isprepaid")
public void setIsprepaid(Integer isprepaid) {
set("isprepaid", isprepaid);
}
/**
* @return isprepaid
*/
@JSONField(name="isprepaid")
public Integer getIsprepaid() {
return getInt("isprepaid");
}
/**
* name: memo
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param memo
*/
@JSONField(name="memo")
public void setMemo(String memo) {
set("memo", memo);
}
/**
* @return memo
*/
@JSONField(name="memo")
public String getMemo() {
return getStr("memo");
}
/**
* name: product_id
* type: INT(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param productId id
*/
@JSONField(name="product_id")
public void setProductId(Integer productId) {
set("product_id", productId);
}
/**
* @return product_id id
*/
@JSONField(name="product_id")
public Integer getProductId() {
return getInt("product_id");
}
/**
* name: product_name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param productName
*/
@JSONField(name="product_name")
public void setProductName(String productName) {
set("product_name", productName);
}
/**
* @return product_name
*/
@JSONField(name="product_name")
public String getProductName() {
return getStr("product_name");
}
/**
* name: prepay_customer_id
* type: INT(10)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param prepayCustomerId prepay_customer id
*/
@JSONField(name="prepay_customer_id")
public void setPrepayCustomerId(Integer prepayCustomerId) {
set("prepay_customer_id", prepayCustomerId);
}
/**
* @return prepay_customer_id prepay_customer id
*/
@JSONField(name="prepay_customer_id")
public Integer getPrepayCustomerId() {
return getInt("prepay_customer_id");
}
}