package com.thhy.materials.modules.biz.pipeplan.entity;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.thhy.general.annotations.Idkey;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
@Data
|
public class PipePlanListVo implements Serializable {
|
/**
|
* 计划ID
|
*/
|
|
@Idkey
|
private String planId;
|
|
|
/**
|
* 项目ID
|
*/
|
|
|
private String proId;
|
|
private String proName;
|
|
/**
|
* 年份
|
*/
|
|
|
private Integer planYear;
|
|
/**
|
* 计划生产 单位环
|
*/
|
|
|
private double planProduct;
|
|
/**
|
* 尺寸字典
|
*/
|
|
|
private String size;
|
|
private String sizeName;
|
|
//private String planProductStr;
|
@JsonIgnore
|
private PlanMonthCal plan;
|
@JsonIgnore
|
private PlanMonthCal producted;
|
|
private String[] planProductArray;
|
|
public String[] getPlanProductArray() {
|
String[] array = plan.getResultStr().split(",");
|
array[array.length-1] = plan.getResultSum();
|
return array;
|
}
|
|
private String[] productedArray;
|
|
public String[] getProductedArray() {
|
String[] array = producted.getResultStr().split(",");
|
array[array.length-1] = producted.getResultSum();
|
return array;
|
}
|
}
|