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

113 lines
2.3 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 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");
}
}