package com.writeoff.module.audit.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class AuditFlowNodeRequest {
    @NotBlank(message = "节点编码不能为空")
    private String nodeCode;
    @NotBlank(message = "节点名称不能为空")
    private String nodeName;
    @NotNull(message = "节点排序不能为空")
    private Integer sortNo;
    private String assigneeType;
    private Long assigneeRefId;

    public String getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(String nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getAssigneeType() {
        return assigneeType;
    }

    public void setAssigneeType(String assigneeType) {
        this.assigneeType = assigneeType;
    }

    public Long getAssigneeRefId() {
        return assigneeRefId;
    }

    public void setAssigneeRefId(Long assigneeRefId) {
        this.assigneeRefId = assigneeRefId;
    }
}
