|
@@ -3,28 +3,35 @@ package com.imed.costaccount.model.vo;
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@Data
|
|
|
-@ApiModel
|
|
|
+@ApiModel("会计科目成本项目对照列表返回对象")
|
|
|
public class AccountProductVO {
|
|
|
|
|
|
+ @ApiModelProperty(name = "id",value = "会计科目主键")
|
|
|
private Integer id;
|
|
|
|
|
|
+ @ApiModelProperty(name = "accountingName",value = "会计科目名称")
|
|
|
private String accountingName;
|
|
|
|
|
|
+ @ApiModelProperty(name = "accountingCode",value = "主键")
|
|
|
private String accountingCode;
|
|
|
|
|
|
+ @ApiModelProperty(name = "parentId",value = "主键")
|
|
|
@JsonIgnore
|
|
|
private Integer parentId;
|
|
|
|
|
|
- @JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
+ @ApiModelProperty(name = "productVOs",value = "主键")
|
|
|
private List<ProductVO> productVOs;
|
|
|
|
|
|
+ @ApiModelProperty(name = "isParent",value = "是否是父节点")
|
|
|
private Boolean isParent=false;
|
|
|
|
|
|
+ @ApiModelProperty(name = "child",value = "子对象")
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
private List<AccountProductVO> child;
|
|
|
}
|