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.Set;

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

    @ChineseDescription("抄送人员列表")
    @NotEmpty(message = "抄送人员列表不能为空")
    private Set<Long> copyToUserIdList;

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

    @ChineseDescription("审批意见内容")
    private String approvalComments;

}
