201 lines
4.3 KiB
Java
201 lines
4.3 KiB
Java
|
|
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";
|
||
|
|
|
||
|
|
@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(Integer id) {
|
||
|
|
set("id", id);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return id
|
||
|
|
*/
|
||
|
|
@JSONField(name="id")
|
||
|
|
public 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(Integer customerId) {
|
||
|
|
set("customer_id", customerId);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return customer_id
|
||
|
|
*/
|
||
|
|
@JSONField(name="customer_id")
|
||
|
|
public Integer getCustomerId() {
|
||
|
|
return getInt("customer_id");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: sign_time
|
||
|
|
* type: DATE(10)
|
||
|
|
* isNullable: NO
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue:
|
||
|
|
* @param signTime 签订日期
|
||
|
|
*/
|
||
|
|
@JSONField(name="sign_time")
|
||
|
|
public void setSignTime(java.util.Date signTime) {
|
||
|
|
set("sign_time", signTime);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return sign_time 签订日期
|
||
|
|
*/
|
||
|
|
@JSONField(name="sign_time")
|
||
|
|
public java.util.Date getSignTime() {
|
||
|
|
return get("sign_time");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: sing_total_price
|
||
|
|
* type: DECIMAL(12,2)
|
||
|
|
* isNullable: YES
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue:
|
||
|
|
* @param singTotalPrice 总价
|
||
|
|
*/
|
||
|
|
@JSONField(name="sing_total_price")
|
||
|
|
public void setSingTotalPrice(java.math.BigDecimal singTotalPrice) {
|
||
|
|
set("sing_total_price", singTotalPrice);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return sing_total_price 总价
|
||
|
|
*/
|
||
|
|
@JSONField(name="sing_total_price")
|
||
|
|
public java.math.BigDecimal getSingTotalPrice() {
|
||
|
|
return get("sing_total_price");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: sing_total_weight
|
||
|
|
* type: DECIMAL(12,2)
|
||
|
|
* isNullable: YES
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue:
|
||
|
|
* @param singTotalWeight 总吨数
|
||
|
|
*/
|
||
|
|
@JSONField(name="sing_total_weight")
|
||
|
|
public void setSingTotalWeight(java.math.BigDecimal singTotalWeight) {
|
||
|
|
set("sing_total_weight", singTotalWeight);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return sing_total_weight 总吨数
|
||
|
|
*/
|
||
|
|
@JSONField(name="sing_total_weight")
|
||
|
|
public java.math.BigDecimal getSingTotalWeight() {
|
||
|
|
return get("sing_total_weight");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: sign_user_name
|
||
|
|
* type: VARCHAR(255)
|
||
|
|
* isNullable: YES
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue:
|
||
|
|
* @param signUserName 签订人
|
||
|
|
*/
|
||
|
|
@JSONField(name="sign_user_name")
|
||
|
|
public void setSignUserName(String signUserName) {
|
||
|
|
set("sign_user_name", signUserName);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return sign_user_name 签订人
|
||
|
|
*/
|
||
|
|
@JSONField(name="sign_user_name")
|
||
|
|
public String getSignUserName() {
|
||
|
|
return getStr("sign_user_name");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: cutoff_time
|
||
|
|
* type: DATE(10)
|
||
|
|
* isNullable: NO
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue:
|
||
|
|
* @param cutoffTime 截止时间
|
||
|
|
*/
|
||
|
|
@JSONField(name="cutoff_time")
|
||
|
|
public void setCutoffTime(java.util.Date cutoffTime) {
|
||
|
|
set("cutoff_time", cutoffTime);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return cutoff_time 截止时间
|
||
|
|
*/
|
||
|
|
@JSONField(name="cutoff_time")
|
||
|
|
public java.util.Date getCutoffTime() {
|
||
|
|
return get("cutoff_time");
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* name: del
|
||
|
|
* type: INT(10)
|
||
|
|
* isNullable: NO
|
||
|
|
* isPrimaryKey: NO
|
||
|
|
* defaultValue: 0
|
||
|
|
* @param del
|
||
|
|
*/
|
||
|
|
@JSONField(name="del")
|
||
|
|
public void setDel(Integer del) {
|
||
|
|
set("del", del);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return del
|
||
|
|
*/
|
||
|
|
@JSONField(name="del")
|
||
|
|
public Integer getDel() {
|
||
|
|
return getInt("del");
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|