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 Tue Apr 28 16:04:25 CST 2020
|
|
|
|
|
* TableName: order_seq
|
|
|
|
|
* Remarks: 订单相关 - 序列号
|
|
|
|
|
* PrimaryKey: tm,supermarket_id,type
|
|
|
|
|
*/
|
|
|
|
|
@SuppressWarnings("serial")
|
|
|
|
|
public abstract class BaseOrderSeq<M extends BaseOrderSeq<M>> extends BaseModel<M> implements IBean {
|
|
|
|
|
|
|
|
|
|
public static final String tablename = "order_seq";
|
|
|
|
|
|
|
|
|
|
@JSONField(serialize=false)
|
|
|
|
|
public String getTablename(){
|
|
|
|
|
return tablename;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* name: tm
|
|
|
|
|
* type: DATE(10)
|
|
|
|
|
* isNullable: NO
|
|
|
|
|
* isPrimaryKey: YES
|
|
|
|
|
* defaultValue:
|
|
|
|
|
* @param tm 日期
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="tm")
|
|
|
|
|
public void setTm(java.util.Date tm) {
|
|
|
|
|
set("tm", tm);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return tm 日期
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="tm")
|
|
|
|
|
public java.util.Date getTm() {
|
|
|
|
|
return get("tm");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* name: supermarket_id
|
|
|
|
|
* type: INT(10)
|
|
|
|
|
* isNullable: NO
|
|
|
|
|
* isPrimaryKey: YES
|
|
|
|
|
* defaultValue:
|
2020-08-25 16:39:53 +08:00
|
|
|
* @param supermarketId 砂站id
|
2020-08-07 17:11:12 +08:00
|
|
|
*/
|
|
|
|
|
@JSONField(name="supermarket_id")
|
|
|
|
|
public void setSupermarketId(Integer supermarketId) {
|
|
|
|
|
set("supermarket_id", supermarketId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2020-08-25 16:39:53 +08:00
|
|
|
* @return supermarket_id 砂站id
|
2020-08-07 17:11:12 +08:00
|
|
|
*/
|
|
|
|
|
@JSONField(name="supermarket_id")
|
|
|
|
|
public Integer getSupermarketId() {
|
|
|
|
|
return getInt("supermarket_id");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* name: type
|
|
|
|
|
* type: SMALLINT(5)
|
|
|
|
|
* isNullable: NO
|
|
|
|
|
* isPrimaryKey: YES
|
|
|
|
|
* defaultValue:
|
|
|
|
|
* @param type 订单类型
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="type")
|
|
|
|
|
public void setType(Integer type) {
|
|
|
|
|
set("type", type);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return type 订单类型
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="type")
|
|
|
|
|
public Integer getType() {
|
|
|
|
|
return getInt("type");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* name: seq
|
|
|
|
|
* type: INT(10)
|
|
|
|
|
* isNullable: NO
|
|
|
|
|
* isPrimaryKey: NO
|
|
|
|
|
* defaultValue:
|
|
|
|
|
* @param seq 序列号
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="seq")
|
|
|
|
|
public void setSeq(Integer seq) {
|
|
|
|
|
set("seq", seq);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return seq 序列号
|
|
|
|
|
*/
|
|
|
|
|
@JSONField(name="seq")
|
|
|
|
|
public Integer getSeq() {
|
|
|
|
|
return getInt("seq");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|