package cn.stylefeng.workflow.instance.modular.task.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class NodeApproverRoleRequest extends BaseRequest {

    @NotNull(message = "主键不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("主键")
    private Long approverRoleId;

    @ChineseDescription("关联的节点审批配置id")
    private Long nodeApproverId;

    @ChineseDescription("角色id")
    private Long roleId;

    @ChineseDescription("角色名称")
    private String roleName;



}
