耗材记录中添加商品信息
This commit is contained in:
parent
7e4299eecc
commit
4c153a2bfb
|
|
@ -73,6 +73,19 @@ public class ViewConInfoFlow implements Serializable {
|
||||||
@ApiModelProperty(value = "balance")
|
@ApiModelProperty(value = "balance")
|
||||||
private BigDecimal balance;
|
private BigDecimal balance;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name = "`product_id`")
|
||||||
|
@ApiModelProperty(value = "商品id")
|
||||||
|
private String productId;
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name = "`product_name`")
|
||||||
|
@ApiModelProperty(value = "商品名称")
|
||||||
|
private String productName;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void copy(ViewConInfoFlow source){
|
public void copy(ViewConInfoFlow source){
|
||||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,10 @@
|
||||||
*/
|
*/
|
||||||
package cn.ysk.cashier.cons.service.dto;
|
package cn.ysk.cashier.cons.service.dto;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
|
@ -41,4 +44,9 @@ public class ViewConInfoFlowDto implements Serializable {
|
||||||
private BigDecimal conOut;
|
private BigDecimal conOut;
|
||||||
|
|
||||||
private BigDecimal balance;
|
private BigDecimal balance;
|
||||||
|
|
||||||
|
|
||||||
|
private String productId;
|
||||||
|
|
||||||
|
private String productName;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue