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

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

import java.util.List;

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

    @NotNull(message = "任务id不能为空")
    @ChineseDescription("任务id")
    private Long taskId;

    @ChineseDescription("前加签还是后加签：10-前加签，20-后加签")
    private Integer addSignType;

    @NotEmpty(message = "加签用户列表不能为空")
    @ChineseDescription("加签用户的id集合")
    private List<Long> addSignUserIdList;

}
