package com.erp.ai.model;

import lombok.Data;

import java.time.OffsetDateTime;

/**
 * AI 스케줄 (테이블: ai_agent_schedules)
 * Quartz JobStore + Cron.
 */
@Data
public class AiAgentSchedule {
    private Long id;
    private String name;
    private Long group_id;
    private String cron_expression;
    private String timezone;
    private String input_message;
    private String notification;
    private Boolean is_active;
    private OffsetDateTime last_run_at;
    private Long run_count;
    private String company_code;
    private String created_by;
    private OffsetDateTime created_at;
    private OffsetDateTime updated_at;

    /** JOIN: ai_agent_groups.name */
    private String group_name;
}
