package com.erp.ai.model;

import lombok.Data;

import java.time.OffsetDateTime;

/**
 * AI 에이전트 그룹 멤버 (테이블: ai_agent_group_members)
 * connectors / config 는 JSONB → JSON 문자열로 보관.
 */
@Data
public class AiAgentGroupMember {
    private Long id;
    private Long group_id;
    private Long agent_id;
    private String role_name;
    /** JSONB ConnectorRef[] */
    private String connectors;
    private Integer execution_order;
    private String config;
    private OffsetDateTime created_at;
    private OffsetDateTime updated_at;

    /** JOIN: ai_agents.name */
    private String agent_name;
    /** JOIN: ai_agents.model */
    private String agent_model;
}
