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> extends BaseModel 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: * @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: 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: * @param oldStockWeight 修改签该超市原有的库存量 */ @JSONField(name="old_stock_weight") public void setOldStockWeight(java.math.BigDecimal oldStockWeight) { set("old_stock_weight", oldStockWeight); } /** * @return old_stock_weight 修改签该超市原有的库存量 */ @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: * @param newStockWeight 修改后该超市的库存量 */ @JSONField(name="new_stock_weight") public void setNewStockWeight(java.math.BigDecimal newStockWeight) { set("new_stock_weight", newStockWeight); } /** * @return new_stock_weight 修改后该超市的库存量 */ @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"); } }