SparepartSettlementVO.java
2.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.skua.modules.erp.vo;
import com.skua.modules.erp.entity.ErpSettlementItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.ArrayList;
import java.util.List;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="物料结算对象", description="物料结算对象")
public class SparepartSettlementVO {
@ApiModelProperty(value = "项目名称")
private String projectName;
@ApiModelProperty(value = "供应商名称")
private String supplierName;
@ApiModelProperty(value = "部门名称")
private String departName;
@ApiModelProperty(value = "合同名称")
private String contractName;
/**合同编号*/
@ApiModelProperty(value = "合同编号")
private String contractCode;
@ApiModelProperty(value = "药剂名称")
private String sparepartName;
@ApiModelProperty(value = "规格型号")
private String specification;
@ApiModelProperty(value = "产地")
private String goodOrigin;
@ApiModelProperty(value = "品牌")
private String goodBrand;
@ApiModelProperty(value = "集团名称")
private String jtDepartName;
@ApiModelProperty(value = "结算清单")
private List<ErpSettlementItemVO> itemList ;
public SparepartSettlementVO(){
}
public SparepartSettlementVO(String projectName,String departName, String contractCode, String sparepartName, String specification, String goodOrigin, String goodBrand) {
this.projectName = projectName;
this.contractCode = contractCode;
this.sparepartName = sparepartName;
this.specification = specification;
this.goodOrigin = goodOrigin;
this.goodBrand = goodBrand;
}
public void addErpSettlementItem(ErpSettlementItemVO settlementItem){
if(itemList == null ) itemList = new ArrayList<>();
itemList.add( settlementItem ) ;
}
}