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 NodeApproverPolicyRequest extends BaseRequest {

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

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

    @ChineseDescription("审批组类型范围：10-指定部门，20-发起人所在部门")
    private Integer selectScope;

    @ChineseDescription("组织机构id，如果范围是20，则填写此值")
    private Long orgId;

    @ChineseDescription("组织机构名称，如果范围是20，则填写此值")
    private String orgName;

    @ChineseDescription("审批组类型，字典表，存字典的编码，dict_code值")
    private String approveGroupType;

    @ChineseDescription("审批组名称")
    private String approveGroupName;

}
