云
6 小时以前 95ae0c83d2aa58d86b4039e3f7f16ee93afb8f00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package cn.iocoder.yudao.module.system.framework.agent;
 
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.Set;
 
/** Redis 中保存的智能体短期委托;不包含用户登录 Token。 */
@Data
public class AgentDelegation {
 
    private String id;
    private String secretHash;
    private String taskId;
    private Long userId;
    private String moduleId;
    private Long attachmentId;
    /**
     * 异步批量文档任务允许读取的附件集合。attachmentId 保留用于兼容已签发的单附件票据。
     */
    private Set<Long> attachmentIds;
    private Set<String> operations;
    private String permission;
    private LocalDateTime issuedAt;
    private LocalDateTime expiresAt;
}