package com.hotent.project.req;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "流程节点请求类")
public class CostProjectProcessNodeReq {

    @ApiModelProperty(value = "流程节点id")
    private String id;

    @ApiModelProperty(value = "截至时间")
    @NotNull(message = "截至时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;


    @ApiModelProperty(value = "预置办理人员")
    @NotNull(message = "预置办理人员不能为空")
    private String userId;

    @ApiModelProperty(value = "预置流转操作 ,分割")
    @NotEmpty(message = "预置流转操作不能为空")
    private String status;

    @ApiModelProperty(value = "流程环节实际值")
    @NotEmpty(message = "流程环节实际值不能为空")
    private String processNodeKey;

    @ApiModelProperty(value = "主办人员")
    @NotEmpty(message = "主办人员")
    private String mainUserId;

    @ApiModelProperty(value = "节点类型")
    private String nodeType;






}
