Commit dc2de792 by 胡懿

台账明细增加单价字段

parent 7bd23633
...@@ -11,6 +11,8 @@ import com.jeeplus.modules.warehouse.shelves.entity.Shelves; ...@@ -11,6 +11,8 @@ import com.jeeplus.modules.warehouse.shelves.entity.Shelves;
import com.jeeplus.core.persistence.DataEntity; import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField; import com.jeeplus.common.utils.excel.annotation.ExcelField;
import java.math.BigDecimal;
/** /**
* 台账明细Entity * 台账明细Entity
* @author huyi * @author huyi
...@@ -28,6 +30,7 @@ public class LedgerInfo extends DataEntity<LedgerInfo> { ...@@ -28,6 +30,7 @@ public class LedgerInfo extends DataEntity<LedgerInfo> {
private QrCode qr; // 二维码id private QrCode qr; // 二维码id
private Shelves shelves; // 货架id private Shelves shelves; // 货架id
private String code; // 物资编码 private String code; // 物资编码
private BigDecimal amount; // 单价
public LedgerInfo() { public LedgerInfo() {
super(); super();
...@@ -119,5 +122,13 @@ public class LedgerInfo extends DataEntity<LedgerInfo> { ...@@ -119,5 +122,13 @@ public class LedgerInfo extends DataEntity<LedgerInfo> {
public void setCode(String code) { public void setCode(String code) {
this.code = code; 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