Commit dc2de792 by 胡懿

台账明细增加单价字段

parent 7bd23633
......@@ -11,6 +11,8 @@ import com.jeeplus.modules.warehouse.shelves.entity.Shelves;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import java.math.BigDecimal;
/**
* 台账明细Entity
* @author huyi
......@@ -28,6 +30,7 @@ public class LedgerInfo extends DataEntity<LedgerInfo> {
private QrCode qr; // 二维码id
private Shelves shelves; // 货架id
private String code; // 物资编码
private BigDecimal amount; // 单价
public LedgerInfo() {
super();
......@@ -120,4 +123,12 @@ public class LedgerInfo extends DataEntity<LedgerInfo> {
this.code = code;
}
@ExcelField(title="单价", align=2, sort=10)
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment