| | |
| | | |
| | | @NotNull(message = "变黄码的天数不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("变黄码的天数") |
| | | private Integer yellowTime; |
| | | private String yellowTime; |
| | | |
| | | @NotNull(message = "变红码的天数不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("变红码的天数") |
| | | private Integer redTime; |
| | | private String redTime; |
| | | |
| | | @NotNull(message = "处理期限不能为空", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("处理期限") |
| | | private String overtime; |
| | | @NotNull(message = "任务状态", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("任务状态green/yellow/red") |
| | | private String status; |
| | | |
| | | @NotNull(message = "任务超时状态", groups = {Add.class, Update.class}) |
| | | @ApiModelProperty("任务超时状态normal/willOvertime/overtime") |
| | | private String overtimeStatus; |
| | | |
| | | public static ProcessCoding getEntityByForm(@NonNull ProcessCodingForm form, ProcessCoding entity) { |
| | | if(entity == null) { |
| | | entity = new ProcessCoding(); |