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

201 lines
4.6 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 May 12 23:18:24 CST 2020
* TableName: stock_modify_log
* Remarks: -
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BaseStockModifyLog<M extends BaseStockModifyLog<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "stock_modify_log";
@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: supermarket_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* 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: product_id
* type: INT(10)
* isNullable: NO
* 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: old_stock_weight
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
2020-08-25 16:39:53 +08:00
* @param oldStockWeight
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="old_stock_weight")
public void setOldStockWeight(java.math.BigDecimal oldStockWeight) {
set("old_stock_weight", oldStockWeight);
}
/**
2020-08-25 16:39:53 +08:00
* @return old_stock_weight
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="old_stock_weight")
public java.math.BigDecimal getOldStockWeight() {
return get("old_stock_weight");
}
/**
* name: new_stock_weight
* type: DECIMAL(12,2)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
2020-08-25 16:39:53 +08:00
* @param newStockWeight
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="new_stock_weight")
public void setNewStockWeight(java.math.BigDecimal newStockWeight) {
set("new_stock_weight", newStockWeight);
}
/**
2020-08-25 16:39:53 +08:00
* @return new_stock_weight
2020-08-07 17:11:12 +08:00
*/
@JSONField(name="new_stock_weight")
public java.math.BigDecimal getNewStockWeight() {
return get("new_stock_weight");
}
/**
* 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: 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");
}
}