AjhPlanScheduleDataVO.java
4.3 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
package com.skua.modules.ajh.vo;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
* 经营方案数据表
*/
@Data
@ApiModel(value="ajh_plan_schedule_data数据传输对象", description="经营方案数据表")
public class AjhPlanScheduleDataVO {
/**id*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "id")
private String id;
@Excel(name = "所属厂站", width = 15)
@ApiModelProperty(value = "所属厂站")
private String factoryId;
@ApiModelProperty(value = "所属厂站名称")
private String departName;
@ApiModelProperty(value = "时间yyyy-MM")
private String dateTime;
@ApiModelProperty(value = "工作事项")
private String workItermName;
@ApiModelProperty(value = "具体内容")
private String workContent;
@ApiModelProperty(value = "一级指标编号")
private String configLevel1;
@ApiModelProperty(value = "二级指标编号")
private String configLevel2;
@ApiModelProperty(value = "一级指标-完成时间")
private String completeTime1;
@ApiModelProperty(value = "一级指标-责任人")
private String responsibler1;
@ApiModelProperty(value = "二级指标-完成时间")
private String completeTime2;
@ApiModelProperty(value = "二级指标-责任人")
private String responsibler2;
@ApiModelProperty(value = "完成时间")
private String completeTime;
/**负责人*/
@Excel(name = "负责人", width = 15)
@ApiModelProperty(value = "负责人")
private String responsibler;
/**序时进度*/
@Excel(name = "序时进度", width = 15)
@ApiModelProperty(value = "序时进度")
private String seqProgress;
/**控制成本*/
@Excel(name = "控制成本", width = 15)
@ApiModelProperty(value = "控制成本")
private String controlCosts;
/**实际进度*/
@Excel(name = "实际进度", width = 15)
@ApiModelProperty(value = "实际进度")
private String actualProgress;
/**实际成本*/
@Excel(name = "实际成本", width = 15)
@ApiModelProperty(value = "实际成本")
private String actualCosts;
/**偏差原因*/
@Excel(name = "偏差原因", width = 15)
@ApiModelProperty(value = "偏差原因")
private String deviationReason;
/**纠偏措施*/
@Excel(name = "纠偏措施", width = 15)
@ApiModelProperty(value = "纠偏措施")
private String measures;
/**备注*/
@Excel(name = "备注", width = 15)
@ApiModelProperty(value = "备注")
private String remark;
public AjhPlanScheduleDataVO() {
}
public AjhPlanScheduleDataVO(String factoryId,String dateTime,String workItermName, String workContent,String configLevel1, String completeTime1, String responsibler1, String configLevel2,String completeTime2, String responsibler2) {
this.factoryId = factoryId;
this.dateTime = dateTime;
this.workItermName = workItermName;
this.workContent = workContent;
this.configLevel1 = configLevel1;
this.completeTime1 = completeTime1;
this.responsibler1 = responsibler1;
this.configLevel2 = configLevel2;
this.completeTime2 = completeTime2;
this.responsibler2 = responsibler2;
}
public AjhPlanScheduleDataVO(String factoryId,String dateTime,String workItermName,String configLevel1, String completeTime1, String responsibler1) {
this.factoryId = factoryId;
this.workItermName = workItermName;
this.workContent = workContent;
this.configLevel1 = configLevel1;
this.completeTime1 = completeTime1;
this.responsibler1 = responsibler1;
}
public String getCompleteTime() {
completeTime = completeTime1;
if(StringUtils.isNotEmpty(completeTime2)){
completeTime = completeTime2;
}
return completeTime;
}
public String getResponsibler() {
responsibler = responsibler1;
if(StringUtils.isNotEmpty(responsibler2)){
responsibler = responsibler2;
}
return responsibler;
}
}