| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- /**
- *
- */
- package cn.com.lzt.purchase.dto;
- import java.math.BigDecimal;
- import java.util.Date;
- import org.jeecgframework.minidao.annotation.MiniDao;
- import org.jeecgframework.poi.excel.annotation.Excel;
- /**
- * @author xzx
- *
- * 2018年8月28日
- *
- */
- @MiniDao
- public class OrderToSupplierDto {
- /**主键*/
- private java.lang.String id;
- @Excel(name="序号",width=15)
- private int index;
- @Excel(name="产品名称",width=50)
- private String goodsName;
- @Excel(name="规格型号",width=50)
- private String specification;
- @Excel(name="单位",width=15)
- private String unit;
-
- @Excel(name="数量",width=15)
- private Double amount;
- @Excel(name="单价",width=15)
- private Double price;
- @Excel(name="金额",width=15)
- private Double money;
- @Excel(name="备注",width=15)
- private String description;
- /**供应商id*/
- private String supplierID;
-
- private String supplierName;
-
- private String orderID;
-
- private String createrName;
-
- private String goodsID;
-
- private String warehouseName;
-
- private String warehouseAddress;
- private String warehouseID;
- private String contacts;
- private String mobilePhone;
- private String shoujianren;
- private String shoujianrenPhone;
-
- private String handlePerson;
-
- private Date orderDate;
-
-
-
-
- public Date getOrderDate() {
- return orderDate;
- }
- public void setOrderDate(Date orderDate) {
- this.orderDate = orderDate;
- }
- public String getHandlePerson() {
- return handlePerson;
- }
- public void setHandlePerson(String handlePerson) {
- this.handlePerson = handlePerson;
- }
- public String getSpecification() {
- return specification;
- }
- public void setSpecification(String specification) {
- this.specification = specification;
- }
- public String getShoujianren() {
- return shoujianren;
- }
- public void setShoujianren(String shoujianren) {
- this.shoujianren = shoujianren;
- }
- public String getShoujianrenPhone() {
- return shoujianrenPhone;
- }
- public void setShoujianrenPhone(String shoujianrenPhone) {
- this.shoujianrenPhone = shoujianrenPhone;
- }
- public String getWarehouseName() {
- return warehouseName;
- }
- public void setWarehouseName(String warehouseName) {
- this.warehouseName = warehouseName;
- }
- public String getWarehouseAddress() {
- return warehouseAddress;
- }
- public void setWarehouseAddress(String warehouseAddress) {
- this.warehouseAddress = warehouseAddress;
- }
- public String getWarehouseID() {
- return warehouseID;
- }
- public void setWarehouseID(String warehouseID) {
- this.warehouseID = warehouseID;
- }
- public String getContacts() {
- return contacts;
- }
- public void setContacts(String contacts) {
- this.contacts = contacts;
- }
- public String getMobilePhone() {
- return mobilePhone;
- }
- public void setMobilePhone(String mobilePhone) {
- this.mobilePhone = mobilePhone;
- }
- public String getGoodsID() {
- return goodsID;
- }
- public void setGoodsID(String goodsID) {
- this.goodsID = goodsID;
- }
- public String getSupplierID() {
- return supplierID;
- }
- public void setSupplierID(String supplierID) {
- this.supplierID = supplierID;
- }
- public String getSupplierName() {
- return supplierName;
- }
- public void setSupplierName(String supplierName) {
- this.supplierName = supplierName;
- }
- public String getOrderID() {
- return orderID;
- }
- public void setOrderID(String orderID) {
- this.orderID = orderID;
- }
- public String getCreaterName() {
- return createrName;
- }
- public void setCreaterName(String createrName) {
- this.createrName = createrName;
- }
- public java.lang.String getId() {
- return id;
- }
- public void setId(java.lang.String id) {
- this.id = id;
- }
- public int getIndex() {
- return index;
- }
- public void setIndex(int index) {
- this.index = index;
- }
- public String getGoodsName() {
- return goodsName;
- }
- public void setGoodsName(String goodsName) {
- this.goodsName = goodsName;
- }
- public String getUnit() {
- return unit;
- }
- public void setUnit(String unit) {
- this.unit = unit;
- }
- public Double getAmount() {
- return amount;
- }
- public void setAmount(Double amount) {
- this.amount = amount;
- }
- public Double getPrice() {
- return price;
- }
- public void setPrice(Double price) {
- this.price = price;
- }
- public Double getMoney() {
- if(money == null) {
- return 0.0;
- }
- BigDecimal bdv = new BigDecimal(money);
- return bdv.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();
- }
- public void setMoney(Double money) {
- this.money = money;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
-
- }
|